Changeset 1199
- Timestamp:
- 10/13/01 05:51:49 (12 years ago)
- Location:
- lm-sensors/trunk
- Files:
-
- 2 modified
-
CHANGES (modified) (1 diff)
-
kernel/chips/sis5595.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/CHANGES
r1197 r1199 26 26 Module i2c-piix4: Add Intel 82443MX and SMSC Victory66 support 27 27 Module i2c-viapro: Add Via VT8233 support 28 Module sis5595: Fix support for rev B0 28 29 Module via686a: Make limit initializations reliable 29 30 Program sensors-detect: Add ALI1535 detection, -
lm-sensors/trunk/kernel/chips/sis5595.c
r1193 r1199 25 25 Supports following revisions: 26 26 Version PCI ID PCI Revision 27 1 1039/0008 0128 2 1039/0008 C027 1 1039/0008 AF or less 28 2 1039/0008 B0 or greater 29 29 30 30 Note: these chips contain a 0008 device which is incompatible with the … … 147 147 OVER and HYST are really MAX and MIN. */ 148 148 149 #define SIS5595_REG_TEMP (( data->revision) >= 0xc0) ? \ 149 #define REV2MIN 0xb0 150 #define SIS5595_REG_TEMP (( data->revision) >= REV2MIN) ? \ 150 151 SIS5595_REG_IN(4) : 0x27 151 #define SIS5595_REG_TEMP_OVER (( data->revision) >= 0xc0) ? \152 #define SIS5595_REG_TEMP_OVER (( data->revision) >= REV2MIN) ? \ 152 153 SIS5595_REG_IN_MAX(4) : 0x39 153 #define SIS5595_REG_TEMP_HYST (( data->revision) >= 0xc0) ? \154 #define SIS5595_REG_TEMP_HYST (( data->revision) >= REV2MIN) ? \ 154 155 SIS5595_REG_IN_MIN(4) : 0x3a 155 156 … … 464 465 /* Check revision and pin registers to determine whether 3 or 4 voltages */ 465 466 pci_read_config_byte(s_bridge, SIS5595_REVISION_REG, &(data->revision)); 466 if(data->revision < 0xb0) {467 if(data->revision < REV2MIN) { 467 468 data->maxins = 3; 468 469 } else {
