Changeset 49
- Timestamp:
- 12/08/98 17:58:10 (14 years ago)
- Location:
- lm-sensors/trunk
- Files:
-
- 1 added
- 7 modified
-
doc/lm75 (modified) (1 diff)
-
doc/lm78 (added)
-
kernel/chips/lm75.c (modified) (1 diff)
-
kernel/chips/lm78.c (modified) (1 diff)
-
kernel/include/sensors.h (modified) (1 diff)
-
src/lm75.c (modified) (1 diff)
-
src/lm78.c (modified) (1 diff)
-
src/sensors.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/doc/lm75
r48 r49 10 10 11 11 Within each LM75 directory, you can find the following files: 12 * temp 12 * temp (LM75_SYSCTL_TEMP) 13 13 A list of three numbers. The first number is the Overtemperature Shutdown 14 value, the second number is Overtemperature Shutdown value, and the third 15 number is the current temperature. The first two values can be modified. 16 Each value can be set and read to half-degree accuracy. All values are in 17 degrees Celcius. 14 value, the second number is Hysteris value, and the third number is the 15 current temperature. The first two values can be modified. Each value can 16 be set and read to half-degree accuracy. All values are in degrees Celcius. 18 17 An alarm is issued (usually to a connected LM78) when the temperature 19 18 gets higher then the Overtemperature Shutdown value; it stays on until 20 19 the temperature falls below the Hysteris value. 21 If read through sysctl, this is a list of longs, each being the temperature 22 times 10. 20 If accessed through sysctl, this is a list of longs, each being the 21 temperature times 10. 22 23 The data for each LM75 is updated each 1.5 seconds, but only if it is actually 24 read. -
lm-sensors/trunk/kernel/chips/lm75.c
r46 r49 38 38 39 39 /* Initial values */ 40 #define LM75_INIT_TEMP_OS 5041 #define LM75_INIT_TEMP_HYST 6040 #define LM75_INIT_TEMP_OS 60 41 #define LM75_INIT_TEMP_HYST 50 42 42 43 43 /* Each client has this additional data */ -
lm-sensors/trunk/kernel/chips/lm78.c
r46 r49 810 810 struct lm78_data *data = client->data; 811 811 if (operation == SENSORS_PROC_REAL_INFO) 812 *nrels_mag = 0;812 *nrels_mag = 2; 813 813 else if (operation == SENSORS_PROC_REAL_READ) { 814 814 lm78_update_client(client); -
lm-sensors/trunk/kernel/include/sensors.h
r42 r49 106 106 #define LM78_SYSCTL_ALARMS 2001 /* bitvector */ 107 107 108 #define LM78_ALARM_IN0 0x0001 109 #define LM78_ALARM_IN1 0x0002 110 #define LM78_ALARM_IN2 0x0004 111 #define LM78_ALARM_IN3 0x0008 112 #define LM78_ALARM_IN4 0x0100 113 #define LM78_ALARM_IN5 0x0200 114 #define LM78_ALARM_IN6 0x0400 115 #define LM78_ALARM_FAN1 0x0040 116 #define LM78_ALARM_FAN2 0x0080 117 #define LM78_ALARM_FAN3 0x0800 118 #define LM78_ALARM_TEMP 0x0010 119 #define LM78_ALARM_BTI 0x0020 120 #define LM78_ALARM_CHAS 0x1000 121 #define LM78_ALARM_FIFO 0x2000 122 #define LM78_ALARM_SMI_IN 0x4000 123 108 124 #define LM75_SYSCTL_TEMP 1200 /* Degrees Celcius * 10 */ 109 125 -
lm-sensors/trunk/src/lm75.c
r46 r49 38 38 39 39 /* Initial values */ 40 #define LM75_INIT_TEMP_OS 5041 #define LM75_INIT_TEMP_HYST 6040 #define LM75_INIT_TEMP_OS 60 41 #define LM75_INIT_TEMP_HYST 50 42 42 43 43 /* Each client has this additional data */ -
lm-sensors/trunk/src/lm78.c
r46 r49 810 810 struct lm78_data *data = client->data; 811 811 if (operation == SENSORS_PROC_REAL_INFO) 812 *nrels_mag = 0;812 *nrels_mag = 2; 813 813 else if (operation == SENSORS_PROC_REAL_READ) { 814 814 lm78_update_client(client); -
lm-sensors/trunk/src/sensors.h
r42 r49 106 106 #define LM78_SYSCTL_ALARMS 2001 /* bitvector */ 107 107 108 #define LM78_ALARM_IN0 0x0001 109 #define LM78_ALARM_IN1 0x0002 110 #define LM78_ALARM_IN2 0x0004 111 #define LM78_ALARM_IN3 0x0008 112 #define LM78_ALARM_IN4 0x0100 113 #define LM78_ALARM_IN5 0x0200 114 #define LM78_ALARM_IN6 0x0400 115 #define LM78_ALARM_FAN1 0x0040 116 #define LM78_ALARM_FAN2 0x0080 117 #define LM78_ALARM_FAN3 0x0800 118 #define LM78_ALARM_TEMP 0x0010 119 #define LM78_ALARM_BTI 0x0020 120 #define LM78_ALARM_CHAS 0x1000 121 #define LM78_ALARM_FIFO 0x2000 122 #define LM78_ALARM_SMI_IN 0x4000 123 108 124 #define LM75_SYSCTL_TEMP 1200 /* Degrees Celcius * 10 */ 109 125
