[PATCH] ide driver 2.4.21-rc6

Arne Brutschy (abrutschy@xylon.de)
Mon, 2 Jun 2003 20:51:53 +0200


Using the Promise 20276 IDE controller without raid function
doesn't work with 2.4.21*.

If you want to use the IDE controller just as plain controller without
Promise software raid (i.e. if you prefer to trust the linux software
raid), the kernel always reports this:

PDC20276: IDE controller at PCI slot 02:02.0
PDC20276: chipset revision 1
PDC20276: not 100% native mode: will probe irqs later
PDC20276: neither IDE port enabled (BIOS)

Afterwards, the kernel disables the controller. This has been reported
by serveral other users. This small patch solves the problem.

Arne

--- linux-2.4.21-rc6/drivers/ide/setup-pci.c.orig 2003-06-01 11:38:23.000000000 +0200
+++ linux-2.4.21-rc6/drivers/ide/setup-pci.c 2003-06-01 11:40:12.000000000 +0200
@@ -640,7 +640,8 @@
*/
if (((d->vendor == PCI_VENDOR_ID_PROMISE) &&
((d->device == PCI_DEVICE_ID_PROMISE_20262) ||
- (d->device == PCI_DEVICE_ID_PROMISE_20265))) &&
+ (d->device == PCI_DEVICE_ID_PROMISE_20265) ||
+ (d->device == PCI_DEVICE_ID_PROMISE_20276))) &&
(secondpdc++==1) && (port==1))
goto controller_ok;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/