]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/arch-ixp4xx/debug-macro.S
hpt366: MWDMA filter for SATA cards (take 2)
[linux-2.6-omap-h63xx.git] / include / asm-arm / arch-ixp4xx / debug-macro.S
index 45a6c6cc29d5f8aa065350191b94ee69dd26fdb5..37bc8ef23e6759a5cfb1014cdc09e2bb0c463e4a 100644 (file)
                 mrc     p15, 0, \rx, c1, c0
                 tst     \rx, #1                 @ MMU enabled?
                 moveq   \rx, #0xc8000000
-               orrne   \rx, \rx, #0x00b00000
                 movne   \rx, #0xff000000
+               orrne   \rx, \rx, #0x00b00000
                 add     \rx,\rx,#3              @ Uart regs are at off set of 3 if
                                                @ byte writes used - Big Endian.
                 .endm
 
-               .macro  senduart,rd,rx
-                strb    \rd, [\rx]
-                .endm
-
-                .macro  waituart,rd,rx
-1002:           ldrb    \rd, [\rx, #0x14]
-                and     \rd, \rd, #0x60                @ check THRE and TEMT bits
-                teq     \rd, #0x60
-                bne     1002b
-                .endm
-
-                .macro  busyuart,rd,rx
-                .endm
+#define UART_SHIFT     2
+#include <asm/hardware/debug-8250.S>