Patch: ide noprobe fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

With 2.6.15.5 I am using ide2=noprobe on the command line but
drivers/ide/setup-pci.c overwrites the hwif->noprobe flag back to zero
on line 442. The following patch fixes it:

442c442
<               hwif->noprobe = !hwif->io_ports[IDE_DATA_OFFSET];
---
>               hwif->noprobe = hwif->noprobe || !hwif->io_ports[IDE_DATA_OFFSET];

This allows ide2=noprobe to work correctly. Without the patch the
kernel takes around a minute to determine that ide2 is not there, but
with the patch it is instant.

Is this patch the correct way to do it? How do I get it merged into
the main code if it is correct? Sorry for the obvious questions but
I'm a bit of a newbie at this.

Regards,

Pete.
-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux