mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-30 13:00:30 +00:00
sensors-detect: Drop legacy W83627HF ISA detection. It points users
to a driver we don't want them to use, causing unnecessary confusion. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4308 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
b21daf33c0
commit
dd3a8b4948
2 files changed
+6
-8
No files matched your search
@@ -7,6 +7,7 @@ SVN HEAD
|
||||
Add Maxim MAX6655/MAX6656 detection
|
||||
(Olexiy Avramchenko)
|
||||
Add VIA CX700 detection
|
||||
Drop legacy W83627HF ISA detection
|
||||
|
||||
|
||||
2.10.2 (20070115)
|
||||
|
||||
@@ -975,13 +975,10 @@ use vars qw(@pci_adapters_sis5595 @pci_adapters_sis645 @pci_adapters_sis96x);
|
||||
},
|
||||
{
|
||||
name => "Winbond W83627HF",
|
||||
driver => "w83781d",
|
||||
i2c_addrs => [0x20..0x2f],
|
||||
driver => "use-isa-instead",
|
||||
i2c_addrs => [0x28..0x2f],
|
||||
i2c_detect => sub { w83781d_detect(3, @_); },
|
||||
isa_addrs => [0x290],
|
||||
isa_detect => sub { w83781d_isa_detect(3, @_); },
|
||||
alias_detect => sub { w83781d_alias_detect(3, @_); },
|
||||
} ,
|
||||
},
|
||||
{
|
||||
name => "Winbond W83627EHF",
|
||||
driver => "use-isa-instead",
|
||||
@@ -1826,6 +1823,7 @@ $chip_kern26_w83791d = {
|
||||
driver => "w83627hf",
|
||||
devid => 0x52,
|
||||
logdev => 0x0b,
|
||||
alias_detect => sub { w83781d_alias_detect(3, @_); },
|
||||
},
|
||||
{
|
||||
name => "Winbond W83627THF Super IO Sensors",
|
||||
@@ -4229,7 +4227,7 @@ sub w83781d_alias_detect
|
||||
return 1;
|
||||
}
|
||||
|
||||
# $_[0]: Chip to detect (0 = W83781D, 1 = W83782D, 3 = W83627HF)
|
||||
# $_[0]: Chip to detect (0 = W83781D, 1 = W83782D)
|
||||
# $_[1]: Address
|
||||
# Returns: undef if not detected, (8) if detected.
|
||||
sub w83781d_isa_detect
|
||||
@@ -4256,7 +4254,6 @@ sub w83781d_isa_detect
|
||||
$reg1 = &$read_proc(0x58);
|
||||
return if $chip == 0 and ($reg1 & 0xfe) != 0x10;
|
||||
return if $chip == 1 and ($reg1 & 0xfe) != 0x30;
|
||||
return if $chip == 3 and ($reg1 & 0xfe) != 0x20;
|
||||
|
||||
return 8;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user