lm_sensors/lm_sensors-3.0.1-sensors-detect-special-chips.patch
Hans de Goede 8b8335e5e4 - New upstream release 3.0.1
- Drop several patches which are included in the new upstream release
- Add a patch to make the initscript returncodes LSB compliant (bug 431884)
2008-02-11 13:21:03 +00:00

24 lines
888 B
Diff

diff -up lm_sensors-3.0.1/prog/detect/sensors-detect~ lm_sensors-3.0.1/prog/detect/sensors-detect
--- lm_sensors-3.0.1/prog/detect/sensors-detect~ 2008-02-11 13:59:25.000000000 +0100
+++ lm_sensors-3.0.1/prog/detect/sensors-detect 2008-02-11 13:59:25.000000000 +0100
@@ -5677,6 +5677,9 @@ sub main
initialize_conf;
initialize_proc_pci;
initialize_modules_list;
+ # make sure any special case chips are added to the chip_ids list before
+ # making the support modules list
+ chip_special_cases();
initialize_modules_supported;
initialize_cpu_list();
@@ -5740,9 +5744,6 @@ sub main
print "\n";
}
- # Before looking for chips, make sure any special case chips are
- # added to the chip_ids list
- chip_special_cases();
$i2c_addresses_to_scan = i2c_addresses_to_scan();
print "We are now going to do the I2C/SMBus adapter probings. Some chips may\n",