PATCH: sensors-detect: run chip_special_cases()
Hi All,
The attached patch modifies sensors-detect to run chip_special_cases() earlier so that the special chips get added to the modules_supported list.
Without this sensors-detect would wrongly complain that fscher is not a sensor chip when run on a system with an fscher chip and the fscher driver already loaded.
If I don't get any objections I will be committing this to svn in a couple of days.
Regards,
Hans
prog/detect/sensors-detect renamed from prog/detect/sensors-detect~ +3 -3
@@ -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",
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Hans,
Quoted 7 lines · Hans de Goede
The attached patch modifies sensors-detect to run
chip_special_cases()earlier so that the special chips get added to themodules_supportedlist.Without this sensors-detect would wrongly complain that fscher is not a sensor chip when run on a system with an fscher chip and the fscher driver already loaded.
If I don't get any objections I will be committing this to svn in a couple of days.
Good catch, please commit. Don't forget to commit to both active branches of lm-sensors.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors