Changeset 70

Show
Ignore:
Timestamp:
12/13/98 03:21:37 (14 years ago)
Author:
frodo
Message:

Added temporary Winbond detection code

IF the Winbond docs are right this time, a Winbond should now be
recognized; a warning is printed, and it is treated as a LM79.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/chips/lm78.c

    r56 r70  
    347347      type_name = "lm79"; 
    348348      client_name = "LM79 chip"; 
     349    } else if (err == 0x02) { 
     350      printk("lm78.o: Warning: Winbond W83781D detected (treated as a LM79)\n"); 
     351      type = lm79; 
     352      type_name = "lm79"; 
     353      client_name = "LM79 chip"; 
    349354    } else { 
    350355#ifdef DEBUG 
  • lm-sensors/trunk/src/lm78.c

    r56 r70  
    347347      type_name = "lm79"; 
    348348      client_name = "LM79 chip"; 
     349    } else if (err == 0x02) { 
     350      printk("lm78.o: Warning: Winbond W83781D detected (treated as a LM79)\n"); 
     351      type = lm79; 
     352      type_name = "lm79"; 
     353      client_name = "LM79 chip"; 
    349354    } else { 
    350355#ifdef DEBUG