Re: patch for ide.2.4.5-ac8

From: Andre Hedrick (andre@aslab.com)
Date: Tue Jun 05 2001 - 14:15:21 EST


Thanks Todd,

Everyone knows that I was not an english major ;-)

Cheers,

On Tue, 5 Jun 2001, Todd M. Roy wrote:

> 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.
> **********************************************************************
>

Andre Hedrick
ASL Kernel Development
Linux ATA Development
-----------------------------------------------------------------------------
ASL, Inc. Toll free: 1-877-ASL-3535
1757 Houret Court Fax: 1-408-941-2071
Milpitas, CA 95035 Web: www.aslab.com

-
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