27 lines
766 B
Diff
27 lines
766 B
Diff
--- lm_sensors-3.0.3.orig/prog/detect/sensors-detect
|
|
+++ lm_sensors-3.0.3/prog/detect/sensors-detect
|
|
@@ -2146,7 +2146,7 @@ use vars qw(@chip_kern24_ids @chip_kern2
|
|
},
|
|
{
|
|
name => "Intel AMB FB-DIMM thermal sensor",
|
|
- driver => "to-be-written",
|
|
+ driver => "i5k_amb",
|
|
detect => sub { intel_amb_detect(); },
|
|
},
|
|
{
|
|
@@ -5647,12 +5647,10 @@ sub k10temp_pci_detect
|
|
}
|
|
|
|
# Returns: undef if not detected, (9) if detected.
|
|
-# the device 0xa620 should not be visible on host PCI bus, gateway
|
|
-# must be used
|
|
sub intel_amb_detect
|
|
{
|
|
- if ((exists $pci_list{'8086:a620'}) ||
|
|
- (exists $pci_list{'8086:25f0'})) {
|
|
+ if ((exists $pci_list{'8086:25f0'}) || # Intel 5000
|
|
+ (exists $pci_list{'8086:4030'})) { # Intel 5400
|
|
return 9;
|
|
}
|
|
return;
|