Changeset 998
- Timestamp:
- 01/19/01 03:39:26 (12 years ago)
- Location:
- lm-sensors/trunk
- Files:
-
- 3 modified
-
CHANGES (modified) (1 diff)
-
kernel/chips/lm78.c (modified) (1 diff)
-
prog/detect/sensors-detect (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/CHANGES
r997 r998 19 19 20 20 2.5.6 (2001????) 21 Module sensors: add xxx_init() calls for drivers added to mkpatch in 2.5.5. 22 Program mkpatch.pl: fix adm9240 typos 21 Module lm78: Recognize chipid=0x20 22 Module sensors: Add xxx_init() calls for drivers added to mkpatch in 2.5.5. 23 Program mkpatch.pl: Fix adm9240 typos 24 Program sensors-detect: Recognize lm78 with chipid=0x20 23 25 24 26 2.5.5 (20010115) -
lm-sensors/trunk/kernel/chips/lm78.c
r933 r998 390 390 if (kind <= 0) { 391 391 i = lm78_read_value(new_client, LM78_REG_CHIPID); 392 if (i == 0x00 )392 if (i == 0x00 || i == 0x20) 393 393 kind = lm78; 394 394 else if (i == 0x40) -
lm-sensors/trunk/prog/detect/sensors-detect
r967 r998 1504 1504 return unless (i2c_smbus_read_byte_data($file,0x40) & 0x80) == 0x00; 1505 1505 $reg = i2c_smbus_read_byte_data($file,0x49); 1506 return unless ($chip == 0 and $reg == 0x00) or1506 return unless ($chip == 0 and ($reg == 0x00 or $reg == 0x20)) or 1507 1507 ($chip == 1 and $reg == 0x40) or 1508 1508 ($chip == 2 and ($reg & 0xfe) == 0xc0); … … 1530 1530 return unless (&$readproc(0x40) & 0x80) == 0x00; 1531 1531 my $reg = &$readproc(0x49); 1532 return unless ($chip == 0 and $reg == 0x00) or1532 return unless ($chip == 0 and ($reg == 0x00 or $reg == 0x20)) or 1533 1533 ($chip == 1 and $reg == 0x40) or 1534 1534 ($chip == 2 and ($reg & 0xfe) == 0xc0);
