Changeset 2238
- Timestamp:
- 01/21/04 19:51:25 (9 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/kernel/chips/w83l785ts.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/kernel/chips/w83l785ts.c
r2180 r2238 1 1 /* 2 2 * w83l785ts.c - Part of lm_sensors, Linux kernel modules for hardware 3 * monitoring4 * Copyright (C) 2003 Jean Delvare <khali@linux-fr.org>3 * monitoring 4 * Copyright (C) 2003-2004 Jean Delvare <khali@linux-fr.org> 5 5 * 6 6 * Inspired from the lm83 driver. The W83L785TS-S is a sensor chip made 7 7 * by Winbond. It reports a single external temperature with a 1 deg 8 * resolution and a 3 deg accuracy. Data sheet can be obtained from8 * resolution and a 3 deg accuracy. Data sheet can be obtained from 9 9 * Winbond's website at: 10 * http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/W86L785TS-S.pdf 11 * Yes, the file name is wrong. 10 * http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/W83L785TS-S.pdf 12 11 * 13 12 * This program is free software; you can redistribute it and/or modify … … 35 34 /* 36 35 * Address to scan 36 * Address is fully defined internally and cannot be changed. 37 37 */ 38 38 … … 66 66 */ 67 67 68 #define TEMP_FROM_REG(val) (val > 127 ? val-256: val)68 #define TEMP_FROM_REG(val) (val & 0x80 ? val-0x100 : val) 69 69 70 70 /*
