patch for ide.2.4.5-ac8

From: Todd M. Roy (troy@holstein.com)
Date: Tue Jun 05 2001 - 14:08:37 EST


Andre,
  Minor typo fix:
--- ide-dma.c.~1~ Tue Jun 5 14:39:06 2001
+++ ide-dma.c Tue Jun 5 15:04:54 2001
@@ -708,15 +708,15 @@
         if ((!dma_base) && (!second_chance)) {
                 unsigned long set_bmiba = 0;
                 second_chance++;
- switch(dev->vender) {
- PCI_VENDOR_ID_AL:
- set_bmiba = DEFAULT_BMALIBA; break;
- PCI_VENDOR_ID_VIA:
- set_bmiba = DEFAULT_BMCRBA; break;
- PCI_VENDOR_ID_INTEL:
- set_bmiba = DEFAULT_BMIBA; break;
- default:
- return dma_base;
+ switch (dev->vendor) {
+ case PCI_VENDOR_ID_AL:
+ set_bmiba = DEFAULT_BMALIBA; break;
+ case PCI_VENDOR_ID_VIA:
+ set_bmiba = DEFAULT_BMCRBA; break;
+ case PCI_VENDOR_ID_INTEL:
+ set_bmiba = DEFAULT_BMIBA; break;
+ default:
+ return dma_base;
                 }
                 pci_write_config_dword(dev, 0x20, set_bmiba|1);
                 goto second_chance_to_dma;

Cheers,
  Todd
**********************************************************************
This footnote confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
**********************************************************************
-
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 : Thu Jun 07 2001 - 21:00:41 EST