Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da095587 authored by David S. Miller's avatar David S. Miller
Browse files

Revert "ide: Fix interface autodetection in legacy IDE driver (trial #2)"



This reverts commit b2ae7505.

The inverse logic is intentional, and this change even breaks
booting on some systems.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b2ae7505
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -96,10 +96,10 @@ static int __init ide_generic_init(void)
		printk(KERN_INFO DRV_NAME ": please use \"probe_mask=0x3f\" "
		     "module parameter for probing all legacy ISA IDE ports\n");

		if (primary)
		if (primary == 0)
			probe_mask |= 0x1;

		if (secondary)
		if (secondary == 0)
			probe_mask |= 0x2;
	} else
		printk(KERN_INFO DRV_NAME ": enforcing probing of I/O ports "