mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-19 19:40:49 +00:00
Removed offending ISA test. Added warning about renamed modules.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@219 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
b8ea339ede
commit
cf243b3072
4 files changed
+8
-14
No files matched your search
@@ -317,11 +317,6 @@ int lm78_detect_isa(struct isa_adapter *adapter)
|
||||
if (check_region(address, LM78_EXTENT))
|
||||
continue;
|
||||
|
||||
/* Awful, but true: unused port addresses should return 0xff */
|
||||
if ((inb_p(address + 1) != 0xff) || (inb_p(address + 2) != 0xff) ||
|
||||
(inb_p(address + 3) != 0xff) || (inb_p(address + 7) != 0xff))
|
||||
continue;
|
||||
|
||||
if (inb_p(address + LM78_ADDR_REG_OFFSET) == 0xff) {
|
||||
outb_p(0x00,address + LM78_ADDR_REG_OFFSET);
|
||||
if (inb_p(address + LM78_ADDR_REG_OFFSET) == 0xff)
|
||||
|
||||
@@ -372,11 +372,6 @@ int w83781d_detect_isa(struct isa_adapter *adapter)
|
||||
if (check_region(address, W83781D_EXTENT))
|
||||
continue;
|
||||
|
||||
/* Awful, but true: unused port addresses should return 0xff */
|
||||
if ((inb_p(address + 1) != 0xff) || (inb_p(address + 2) != 0xff) ||
|
||||
(inb_p(address + 3) != 0xff) || (inb_p(address + 7) != 0xff))
|
||||
continue;
|
||||
|
||||
if (inb_p(address + W83781D_ADDR_REG_OFFSET) == 0xff) {
|
||||
outb_p(0x00,address + W83781D_ADDR_REG_OFFSET);
|
||||
if (inb_p(address + W83781D_ADDR_REG_OFFSET) == 0xff)
|
||||
|
||||
Reference in new issue
Block a user