sensors/lm_sensors-3.1.1-no-ipmisensors-driver.patch

41 lines
1.1 KiB
Diff

From: Jean Delvare <jdelvare@suse.de>
Subject: Don't point the user to the ipmisensors driver
References: bnc#558756
We do not ship the out-of-tree ipmisensors driver, so do not point
the user to that driver.
--- lm_sensors-3.1.1.orig/prog/detect/sensors-detect
+++ lm_sensors-3.1.1/prog/detect/sensors-detect
@@ -1166,12 +1166,12 @@ use vars qw(@i2c_adapter_names);
@ipmi_ifs = (
{
name => "IPMI BMC KCS",
- driver => "ipmisensors",
+ driver => "to-be-written",
isa_addrs => [0x0ca0],
isa_detect => sub { ipmi_detect(@_); },
}, {
name => "IPMI BMC SMIC",
- driver => "ipmisensors",
+ driver => "to-be-written",
isa_addrs => [0x0ca8],
isa_detect => sub { ipmi_detect(@_); },
}
@@ -5334,13 +5334,13 @@ sub ipmi_from_smbios
$if->{type}));
}
print "Success!\n".
- " (confidence 8, driver `ipmisensors')\n";
+ " (confidence 8, driver `to-be-written')\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("to-be-written", $new_hash);
}
return scalar @ipmi_if;