Changeset 74
- Timestamp:
- 12/13/98 15:03:28 (14 years ago)
- Location:
- lm-sensors/trunk
- Files:
-
- 2 modified
-
kernel/chips/lm78.c (modified) (2 diffs)
-
src/lm78.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/kernel/chips/lm78.c
r70 r74 449 449 adapter, and check whether they are used here */ 450 450 451 if (smbus_read_byte_data(adapter,address,LM78_REG_CONFIG) == 0xff)451 if (smbus_read_byte_data(adapter,address,LM78_REG_CONFIG) < 0) 452 452 continue; 453 453 … … 465 465 client_name = "LM78-J chip"; 466 466 } else if (err == 0x80) { 467 type = lm79; 468 type_name = "lm79"; 469 client_name = "LM79 chip"; 470 } else if (err == 0x02) { 471 printk("lm78.o: Warning: Winbond W83781D detected (treated as a LM79)\n"); 467 472 type = lm79; 468 473 type_name = "lm79"; -
lm-sensors/trunk/src/lm78.c
r70 r74 449 449 adapter, and check whether they are used here */ 450 450 451 if (smbus_read_byte_data(adapter,address,LM78_REG_CONFIG) == 0xff)451 if (smbus_read_byte_data(adapter,address,LM78_REG_CONFIG) < 0) 452 452 continue; 453 453 … … 465 465 client_name = "LM78-J chip"; 466 466 } else if (err == 0x80) { 467 type = lm79; 468 type_name = "lm79"; 469 client_name = "LM79 chip"; 470 } else if (err == 0x02) { 471 printk("lm78.o: Warning: Winbond W83781D detected (treated as a LM79)\n"); 467 472 type = lm79; 468 473 type_name = "lm79";
