Rename fsc-specific chip arrays to something clearer.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4965 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2007-10-20 08:36:05 +00:00
1 parent eec91d37b3
commit 40706a7157
2 files changed
+7 -6

No files matched your search

+1
View File
@@ -3,6 +3,7 @@ lm-sensors CHANGES file
SVN HEAD
sensors-detect: Fix SMSC LPC47B357/M967 detection
Select the right driver for FSC chips
3.0.0-rc2 (2007-10-10)
useful_addresses.html: Moved to the wiki
+6 -6
View File
@@ -1471,8 +1471,8 @@ use vars qw(@pci_adapters_sis5595 @pci_adapters_sis645 @pci_adapters_sis96x);
# Special case chip information goes here and would be included in
# the chip_special_cases routine below
use vars qw(@chip_kern24_ids @chip_kern26_ids @chip_kern_lt_26_24_ids
@chip_kern_gt_eq_26_24_ids);
use vars qw(@chip_kern24_ids @chip_kern26_ids
@chip_oldfsc_ids @chip_fschmd_ids);
@chip_kern24_ids = (
{
name => "Analog Devices ADM1024",
@@ -1528,7 +1528,7 @@ use vars qw(@chip_kern24_ids @chip_kern26_ids @chip_kern_lt_26_24_ids
);
# sigh special case for old seperate FSC drivers to new merged one mapping
@chip_kern_lt_26_24_ids = (
@chip_oldfsc_ids = (
{
name => "FSC Poseidon I",
driver => "fscpos",
@@ -1549,7 +1549,7 @@ use vars qw(@chip_kern24_ids @chip_kern26_ids @chip_kern_lt_26_24_ids
},
);
@chip_kern_gt_eq_26_24_ids = (
@chip_fschmd_ids = (
{
name => "FSC Poseidon I",
driver => "fschmd",
@@ -3475,9 +3475,9 @@ sub chip_special_cases
# Based on the kernel, add the appropriate chip structures to the
# chip_ids detection list
if (kernel_version_at_least(2, 6, 24)) {
push @chip_ids, @chip_kern_gt_eq_26_24_ids;
push @chip_ids, @chip_fschmd_ids;
} else {
push @chip_ids, @chip_kern_lt_26_24_ids;
push @chip_ids, @chip_oldfsc_ids;
}
if (kernel_version_at_least(2, 6, 0)) {