Changeset 1830
- Timestamp:
- 07/02/03 11:23:51 (10 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/prog/detect/sensors-detect (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/detect/sensors-detect
r1829 r1830 1036 1036 i2c_addrs => [0x18..0x1a,0x29..0x2b,0x4c..0x4e], 1037 1037 i2c_detect => sub { adm1021_detect 6, @_ }, 1038 }, 1039 { 1040 name => "National Semiconductor LM83", 1041 driver => "to-be-written", 1042 i2c_addrs => [0x18..0x1a,0x29..0x2b,0x4c..0x4e], 1043 i2c_detect => sub { adm1021_detect 7, @_ }, 1038 1044 }, 1039 1045 { … … 2651 2657 2652 2658 # $_[0]: Chip to detect 2653 # (0 = ADM1021, 1 = MAX1617, 2 = MAX1617A, 3 = THMC10, 4 = LM84, 5 = GL523, 6 = MC1066) 2659 # (0 = ADM1021, 1 = MAX1617, 2 = MAX1617A, 3 = THMC10, 4 = LM84, 5 = GL523, 6 = MC1066, 2660 # 7 = LM83) 2654 2661 # $_[1]: A reference to the file descriptor to access this chip. 2655 2662 # We may assume an i2c_set_slave_addr was already done. … … 2670 2677 return if $chip == 3 and i2c_smbus_read_byte_data($file,0xfe) != 0x49; 2671 2678 return if $chip == 4 and i2c_smbus_read_byte_data($file,0x04) != 0x00; 2679 return if $chip == 7 and i2c_smbus_read_byte_data($file,0xfe) != 0x01; 2672 2680 return if $chip == 5 and i2c_smbus_read_byte_data($file,0xfe) != 0x23; 2673 2681 return if $chip == 2 and i2c_smbus_read_byte_data($file,0xfe) != 0x4d and
