2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +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:
Jean Delvare
2011-07-03 11:57:57 +00:00
parent 2b35d4c3e7
commit e5bbea3bbc
2 changed files with 6 additions and 4 deletions

View File

@@ -1356,12 +1356,12 @@ use vars qw(@i2c_adapter_names);
@ipmi_ifs = (
{
name => "IPMI BMC KCS",
driver => "ipmisensors",
driver => "to-be-written", # ipmisensors
isa_addrs => [0x0ca0],
isa_detect => sub { ipmi_detect(@_); },
}, {
name => "IPMI BMC SMIC",
driver => "ipmisensors",
driver => "to-be-written", # ipmisensors
isa_addrs => [0x0ca8],
isa_detect => sub { ipmi_detect(@_); },
}
@@ -6045,6 +6045,7 @@ sub w83781d_isa_detect
sub ipmi_from_smbios
{
my ($version, $if, @ipmi_if);
my $ipmi_driver = "to-be-written"; # ipmisensors
return 0 unless check_dmidecode_version();
@@ -6080,13 +6081,13 @@ sub ipmi_from_smbios
$if->{type}));
}
print "Success!\n".
" (confidence 8, driver `ipmisensors')\n";
" (confidence 8, driver `$ipmi_driver')\n";
my $new_hash = {
conf => 8,
isa_addr => $if->{addr} || 0,
chipname => $if->{type},
};
add_isa_to_chips_detected("ipmisensors", $new_hash);
add_isa_to_chips_detected($ipmi_driver, $new_hash);
}
return scalar @ipmi_if;