mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* patch for ide.2.4.5-ac8
@ 2001-06-05 19:08 Todd M. Roy
  2001-06-05 19:15 ` Andre Hedrick
  0 siblings, 1 reply; 2+ messages in thread
From: Todd M. Roy @ 2001-06-05 19:08 UTC (permalink / raw)
  To: andre; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-06-05 19:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-05 19:08 patch for ide.2.4.5-ac8 Todd M. Roy
2001-06-05 19:15 ` Andre Hedrick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®