Explicitly silent eeprom and ddcmon. libsensors still supports them and

will present them to us for older kernels (<= 2.6.13). We don't want
to display them as unknown chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4615 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2007-07-14 19:18:37 +00:00
1 parent 8eaa3767b1
commit 4c2f4416fb
1 file changed
+5
+5
View File
@@ -441,6 +441,11 @@ void do_a_print(sensors_chip_name name)
if(m->prefix==NULL && hide_unknown)
return;
/* Explicitly reject eeprom and ddcmon, we no longer support them
but libsensors may */
if (!strcmp(name.prefix, "eeprom") || !strcmp(name.prefix, "ddcmon"))
return;
printf("%s\n",sprintf_chip_name(name));
if (!hide_adapter) {
const char *adap = sensors_get_adapter_name(name.bus);