mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-31 13:10:30 +00:00
drop eeprom display when kernel is 2.6.x - partially resolves this:
http://lists.lm-sensors.org/pipermail/lm-sensors/2005-August/013403.html git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3064 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
c007106225
commit
df8e4b3895
1 file changed
+4
@@ -93,6 +93,10 @@ static int sensors_read_one_sysfs_chip(char *name, char *dirname, char *id)
|
||||
if (len >= 10 && !strcmp(x + len - 10, " subclient"))
|
||||
return 0;
|
||||
|
||||
/* also, ignore eeproms for all 2.6.x kernels */
|
||||
if (!strcmp(x, "eeprom"))
|
||||
return 0;
|
||||
|
||||
/* Fill in the entry fields */
|
||||
entry.name.prefix = strdup(x);
|
||||
if (entry.name.prefix == NULL)
|
||||
|
||||
Reference in new issue
Block a user