Changeset 351
- Timestamp:
- 03/29/99 03:20:48 (14 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/kernel/chips/adm9240.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/kernel/chips/adm9240.c
r350 r351 335 335 336 336 temp = smbus_read_byte_data(adapter,address,ADM9240_REG_COMPANY_ID); 337 if (temp == 0x23) {337 if (temp == 0x23) { 338 338 type_name = "adm9240"; 339 339 client_name = "ADM9240 chip"; … … 341 341 type_name = "ds1780"; 342 342 client_name = "DS1780 chip"; 343 } 344 if (temp == 0x23 || temp == 0xDA) { 345 temp=smbus_read_byte_data(adapter,address,ADM9240_REG_DIE_REV); 346 printk("adm9240.o: %s detected with die rev.: 0x%X\n", 347 client_name, temp); 348 } 349 else 343 } else 350 344 continue; 345 temp=smbus_read_byte_data(adapter,address,ADM9240_REG_DIE_REV); 346 printk("adm9240.o: %s detected with die rev.: 0x%X\n", 347 client_name, temp); 351 348 352 349
