mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-09-01 14:55:27 +00:00
Don't advertise the ipmisensors driver, it doesn't work.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5981 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -15,6 +15,7 @@ SVN HEAD
|
|||||||
Add detection of SMSC EMC2300
|
Add detection of SMSC EMC2300
|
||||||
Add detection of MAX6642
|
Add detection of MAX6642
|
||||||
Add detection of ITE IT8772E
|
Add detection of ITE IT8772E
|
||||||
|
Don't advertise the ipmisensors driver
|
||||||
|
|
||||||
3.3.0 (2011-03-28)
|
3.3.0 (2011-03-28)
|
||||||
Makefile: Check for bison and flex
|
Makefile: Check for bison and flex
|
||||||
|
@@ -1356,12 +1356,12 @@ use vars qw(@i2c_adapter_names);
|
|||||||
@ipmi_ifs = (
|
@ipmi_ifs = (
|
||||||
{
|
{
|
||||||
name => "IPMI BMC KCS",
|
name => "IPMI BMC KCS",
|
||||||
driver => "ipmisensors",
|
driver => "to-be-written", # ipmisensors
|
||||||
isa_addrs => [0x0ca0],
|
isa_addrs => [0x0ca0],
|
||||||
isa_detect => sub { ipmi_detect(@_); },
|
isa_detect => sub { ipmi_detect(@_); },
|
||||||
}, {
|
}, {
|
||||||
name => "IPMI BMC SMIC",
|
name => "IPMI BMC SMIC",
|
||||||
driver => "ipmisensors",
|
driver => "to-be-written", # ipmisensors
|
||||||
isa_addrs => [0x0ca8],
|
isa_addrs => [0x0ca8],
|
||||||
isa_detect => sub { ipmi_detect(@_); },
|
isa_detect => sub { ipmi_detect(@_); },
|
||||||
}
|
}
|
||||||
@@ -6045,6 +6045,7 @@ sub w83781d_isa_detect
|
|||||||
sub ipmi_from_smbios
|
sub ipmi_from_smbios
|
||||||
{
|
{
|
||||||
my ($version, $if, @ipmi_if);
|
my ($version, $if, @ipmi_if);
|
||||||
|
my $ipmi_driver = "to-be-written"; # ipmisensors
|
||||||
|
|
||||||
return 0 unless check_dmidecode_version();
|
return 0 unless check_dmidecode_version();
|
||||||
|
|
||||||
@@ -6080,13 +6081,13 @@ sub ipmi_from_smbios
|
|||||||
$if->{type}));
|
$if->{type}));
|
||||||
}
|
}
|
||||||
print "Success!\n".
|
print "Success!\n".
|
||||||
" (confidence 8, driver `ipmisensors')\n";
|
" (confidence 8, driver `$ipmi_driver')\n";
|
||||||
my $new_hash = {
|
my $new_hash = {
|
||||||
conf => 8,
|
conf => 8,
|
||||||
isa_addr => $if->{addr} || 0,
|
isa_addr => $if->{addr} || 0,
|
||||||
chipname => $if->{type},
|
chipname => $if->{type},
|
||||||
};
|
};
|
||||||
add_isa_to_chips_detected("ipmisensors", $new_hash);
|
add_isa_to_chips_detected($ipmi_driver, $new_hash);
|
||||||
}
|
}
|
||||||
|
|
||||||
return scalar @ipmi_if;
|
return scalar @ipmi_if;
|
||||||
|
Reference in New Issue
Block a user