patch for ide.2.4.5-ac8
Andre,
Minor typo fix:
ide-dma.c renamed from ide-dma.c.~1~ +9 -9
@@ -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.
**********************************************************************
Thanks Todd,
Everyone knows that I was not an english major ;-)
Cheers,
Quoted 30 lines · Todd M. Roy
Andre,
Minor typo fix:ide-dma.c renamed from ide-dma.c.~1~ +9
-9@@ -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;
Quoted 7 lines
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