From f702bcf551b9f1e70628d9689e7c8886da8421d1 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Tue, 26 Feb 2008 13:50:33 +0000 Subject: [PATCH] run chip_special_cases() earlier so that the special chips get added to the modules_supported list git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5131 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 1 + prog/detect/sensors-detect | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 7a4c7c59..1968f9c7 100644 --- a/CHANGES +++ b/CHANGES @@ -5,6 +5,7 @@ SVN-HEAD sensors-detect: Add SMSC SCH5027D detection Do not access I/O ports on PPC Move south bridge sensor detection to the right section + Run chip_special_cases() earlier 3.0.1 (2008-01-28) documentation: Update the application writing guidelines diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 6f8abfab..965e6e72 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -5709,6 +5709,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(); @@ -5773,9 +5776,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",