[PATCH] ide-pci.c for 2.4.5-pre4

From: Jeff Chua (jeffchua@silk.corp.fedex.com)
Date: Sat May 19 2001 - 23:06:44 EST


There's an error in ide-pci.c that prevented it from compiling 2.4.5-pre4.

Try this.

Thanks,
Jeff
[ jchua@fedex.com ]

--- drivers/ide/ide-pci.c Sun May 20 11:56:48 2001
+++ drivers/ide/ide-pci.c.new Sun May 20 11:56:45 2001
@@ -708,7 +708,7 @@
                                 /*
                                    * Set up BM-DMA capability (PnP BIOS should have done this)
                                    */
- if (!IDE_PCI_DEVID_EQ(d->devid, DEVID_CS5530)
+ if (!IDE_PCI_DEVID_EQ(d->devid, DEVID_CS5530))
                                         hwif->autodma = 0; /* default DMA off if we had to configure it here */
                                 (void) pci_write_config_word(dev, PCI_COMMAND, pcicmd | PCI_COMMAND_MASTER);
                                 if (pci_read_config_word(dev, PCI_COMMAND, &pcicmd) || !(pcicmd & PCI_COMMAND_MASTER)) {

-
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/



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:35 EST