Changeset 4333
- Timestamp:
- 02/24/07 19:13:41 (6 years ago)
- Location:
- lm-sensors/trunk
- Files:
-
- 2 modified
-
CHANGES (modified) (1 diff)
-
prog/detect/sensors-detect (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/CHANGES
r4332 r4333 33 33 Add SMSC LPC47M292 detection 34 34 Add nVidia MCP61 and MCP65 detection 35 Fix ADM1028 detection 35 36 36 37 -
lm-sensors/trunk/prog/detect/sensors-detect
r4330 r4333 4352 4352 ($chip == 2 and $reg == 0x41); 4353 4353 return unless (i2c_smbus_read_byte_data($file,0x40) & 0x80) == 0x00; 4354 $reg = i2c_smbus_read_byte_data($file, 0x3f) ;4355 return unless ($ reg & 0xc0) == 0xc0;4356 return if $chip == 0 and ($reg & 0xc0) != 0xc0;4357 return if $chip == 2 and ($reg & 0xc0) == 0xc0;4354 $reg = i2c_smbus_read_byte_data($file, 0x3f) & 0xf0; 4355 return unless ($chip == 0 and $reg == 0xc0) or 4356 ($chip == 1 and $reg == 0xc0) or 4357 ($chip == 2 and $reg == 0xd0); 4358 4358 return (8); 4359 4359 }
