/* register offset define */ #define FANCTRL_RPM_REG 0xc4 #define FANCTRL_MODE_REG 0xc5 #define FAN_STAT_REG 0x00 #define FAN_POWER_REG 0x01 #define FAN_PRESENT_REG 0x02 #define BMC_FAN_STAT_REG 0x80 #define BMC_FAN_POWER_REG 0x81 #define BMC_FAN_PRESENT_REG 0x82 #define FAN_F_RPM_REG 0xa0 #define FAN_R_RPM_REG 0xb0 /* end of register offset define */