sensors/lm_sensors-dont-probe-i2c-isa.dif

11 lines
554 B
Plaintext

Index: lm-sensors/prog/detect/sensors-detect
===================================================================
--- prog/detect/sensors-detect (revision 4627)
+++ prog/detect/sensors-detect (revision 4649)
@@ -2340,4 +2340,5 @@
$entry->{'name'} = sysfs_device_attribute("${class_dir}/i2c-$1", "name")
|| sysfs_device_attribute("${class_dir}/i2c-$1/device", "name");
+ next if $entry->{'name'} eq "ISA main adapter";
$entry->{'driver'} = find_adapter_driver($entry->{'name'});
$i2c_adapters[$1] = $entry;