Changeset 728
- Timestamp:
- 02/07/00 02:54:00 (9 years ago)
- Files:
-
- lm-sensors/trunk/kernel/chips/w83781d.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/trunk/kernel/chips/w83781d.c
r719 r728 1138 1138 u8 tmp; 1139 1139 1140 /* save this register */ 1141 i = w83781d_read_value(client, W83781D_REG_BEEP_CONFIG); 1140 1142 /* Reset all except Watchdog values and last conversion values 1141 1143 This sets fan-divs to 2, among others */ 1142 1144 w83781d_write_value(client, W83781D_REG_CONFIG, 0x80); 1143 /* Disable power-on abnormal beep. BIOS should have already turned off but1144 not all do. Reset value is 0x15, write a 0x95. */1145 w83781d_write_value(client, W83781D_REG_BEEP_CONFIG, 0x95);1145 /* Restore the register and disable power-on abnormal beep. 1146 This saves FAN 1/2/3 input/output values set by BIOS. */ 1147 w83781d_write_value(client, W83781D_REG_BEEP_CONFIG, i | 0x80); 1146 1148 /* Disable master beep-enable (reset turns it on). 1147 1149 Individual beeps should be reset to off but for some reason … … 1302 1304 w83781d_write_value(client, W83781D_REG_TEMP3_CONFIG, 1303 1305 0x00); 1306 } 1307 /* enable PWM2 control (can't hurt since PWM reg should have been 1308 reset to 0xff) */ 1309 if (type != w83781d) { 1310 w83781d_write_value(client, W83781D_REG_PWMCLK12, 0x19); 1304 1311 } 1305 1312
