mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-23 20:11:42 +00:00
Move south bridge sensor detection to the right section.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5126 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
1dc288af38
commit
7f58258a1d
2 files changed
+20
-22
No files matched your search
@@ -4,6 +4,7 @@ lm-sensors CHANGES file
|
||||
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
|
||||
|
||||
3.0.1 (2008-01-28)
|
||||
documentation: Update the application writing guidelines
|
||||
|
||||
+19
-22
@@ -1326,24 +1326,6 @@ use vars qw(@pci_adapters_sis5595 @pci_adapters_sis645 @pci_adapters_sis96x);
|
||||
i2c_addrs => [0x2e],
|
||||
i2c_detect => sub { adm1022_detect(2, @_); },
|
||||
},
|
||||
{
|
||||
name => "Silicon Integrated Systems SIS5595",
|
||||
driver => "sis5595",
|
||||
isa_addrs => [ 0 ],
|
||||
isa_detect => sub { sis5595_pci_detect(); },
|
||||
},
|
||||
{
|
||||
name => "VIA VT82C686 Integrated Sensors",
|
||||
driver => "via686a",
|
||||
isa_addrs => [ 0 ],
|
||||
isa_detect => sub { via686a_pci_detect(); },
|
||||
},
|
||||
{
|
||||
name => "VIA VT8231 Integrated Sensors",
|
||||
driver => "vt8231",
|
||||
isa_addrs => [ 0 ],
|
||||
isa_detect => sub { via8231_pci_detect(); },
|
||||
},
|
||||
{
|
||||
name => "VIA VT1211 (I2C)",
|
||||
driver => "use-isa-instead",
|
||||
@@ -2150,6 +2132,21 @@ use vars qw(@chip_kern24_ids @chip_kern26_ids
|
||||
# etc. It must return a confidence value, undef if no supported
|
||||
# CPU is found.
|
||||
@cpu_ids = (
|
||||
{
|
||||
name => "Silicon Integrated Systems SIS5595",
|
||||
driver => "sis5595",
|
||||
detect => sub { sis5595_pci_detect(); },
|
||||
},
|
||||
{
|
||||
name => "VIA VT82C686 Integrated Sensors",
|
||||
driver => "via686a",
|
||||
detect => sub { via686a_pci_detect(); },
|
||||
},
|
||||
{
|
||||
name => "VIA VT8231 Integrated Sensors",
|
||||
driver => "vt8231",
|
||||
detect => sub { via8231_pci_detect(); },
|
||||
},
|
||||
{
|
||||
name => "AMD K8 thermal sensors",
|
||||
driver => "k8temp",
|
||||
@@ -3256,8 +3253,8 @@ sub scan_isa_bus
|
||||
foreach $chip (@chip_ids) {
|
||||
next if not exists $chip->{isa_addrs} or not exists $chip->{isa_detect};
|
||||
foreach $addr (@{$chip->{isa_addrs}}) {
|
||||
printf("\%-60s", sprintf("Probing for `\%s'\%s... ", $chip->{name},
|
||||
$addr ? sprintf(" at 0x\%x", $addr) : ''));
|
||||
printf("\%-60s", sprintf("Probing for `\%s'\ at 0x\%x... ", $chip->{name},
|
||||
$addr));
|
||||
$conf = &{$chip->{isa_detect}} ($addr);
|
||||
print("No\n"), next if not defined $conf;
|
||||
print "Success!\n";
|
||||
@@ -5837,8 +5834,8 @@ sub main
|
||||
print "\n";
|
||||
}
|
||||
|
||||
print "Some CPUs or memory controllers may also contain embedded sensors.\n";
|
||||
print "Do you want to scan for them? (YES/no): ";
|
||||
print "Some south bridges, CPUs or memory controllers may also contain \n";
|
||||
print "embedded sensors. Do you want to scan for them? (YES/no): ";
|
||||
unless (<STDIN> =~ /^\s*n/i) {
|
||||
$| = 1;
|
||||
foreach my $entry (@cpu_ids) {
|
||||
|
||||
Reference in new issue
Block a user