0001
0002
0003
0004
0005
0006 #ifndef __ASM_THERM_H
0007 #define __ASM_THERM_H
0008
0009
0010 #define CMD_SET_THERMOSTATE 0x53
0011 #define CMD_GET_THERMOSTATE 0x54
0012 #define CMD_GET_STATUS 0x56
0013 #define CMD_GET_TEMPERATURE 0x57
0014 #define CMD_SET_THERMOSTATE2 0x58
0015 #define CMD_GET_THERMOSTATE2 0x59
0016 #define CMD_GET_TEMPERATURE2 0x5a
0017 #define CMD_GET_FAN 0x5b
0018 #define CMD_SET_FAN 0x5c
0019
0020 #define FAN_OFF 0
0021 #define FAN_ON 1
0022 #define FAN_ALWAYS_ON 2
0023
0024 struct therm {
0025 int hi;
0026 int lo;
0027 };
0028
0029 #endif