[PATCH 2.6.10-rc2-mm3] mips: fixed memory mapped I/O of IDE on MIPS

From: Yoichi Yuasa
Date: Tue Nov 23 2004 - 20:19:40 EST


This patch fixes memory mapped I/O of IDE on MIPS.

The MMIO of IDE on MIPS, the read*()/write*() are correct methods for it.

Signed-off-by: Yoichi Yuasa <yuasa@xxxxxxxxxxxxxx>

diff -urN -X dontdiff a-orig/include/asm-mips/ide.h a/include/asm-mips/ide.h
--- a-orig/include/asm-mips/ide.h Mon Oct 11 11:58:23 2004
+++ a/include/asm-mips/ide.h Thu Oct 14 12:19:27 2004
@@ -14,11 +14,7 @@
#ifdef __KERNEL__

#include <ide.h>
-
-#define __ide_mm_insw ide_insw
-#define __ide_mm_insl ide_insl
-#define __ide_mm_outsw ide_outsw
-#define __ide_mm_outsl ide_outsl
+#include <asm-generic/ide_iops.h>

#endif /* __KERNEL__ */


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/