Changeset 3064

Show
Ignore:
Timestamp:
09/06/05 05:33:43 (8 years ago)
Author:
mmh
Message:

drop eeprom display when kernel is 2.6.x - partially resolves this:
 http://lists.lm-sensors.org/pipermail/lm-sensors/2005-August/013403.html

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/lib/proc.c

    r3058 r3064  
    9292        /* We don't care about subclients */ 
    9393        if (len >= 10 && !strcmp(x + len - 10, " subclient")) 
     94                return 0; 
     95 
     96        /* also, ignore eeproms for all 2.6.x kernels */ 
     97        if (!strcmp(x, "eeprom")) 
    9498                return 0; 
    9599