mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 23:27:06 +00:00
Revert "ide: Fix interface autodetection in legacy IDE driver (trial #2)"
This reverts commit b2ae75052a
.
The inverse logic is intentional, and this change even breaks
booting on some systems.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b2ae75052a
commit
da095587e6
1 changed files with 2 additions and 2 deletions
|
@ -96,10 +96,10 @@ static int __init ide_generic_init(void)
|
||||||
printk(KERN_INFO DRV_NAME ": please use \"probe_mask=0x3f\" "
|
printk(KERN_INFO DRV_NAME ": please use \"probe_mask=0x3f\" "
|
||||||
"module parameter for probing all legacy ISA IDE ports\n");
|
"module parameter for probing all legacy ISA IDE ports\n");
|
||||||
|
|
||||||
if (primary)
|
if (primary == 0)
|
||||||
probe_mask |= 0x1;
|
probe_mask |= 0x1;
|
||||||
|
|
||||||
if (secondary)
|
if (secondary == 0)
|
||||||
probe_mask |= 0x2;
|
probe_mask |= 0x2;
|
||||||
} else
|
} else
|
||||||
printk(KERN_INFO DRV_NAME ": enforcing probing of I/O ports "
|
printk(KERN_INFO DRV_NAME ": enforcing probing of I/O ports "
|
||||||
|
|
Loading…
Reference in a new issue