diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-10-12 06:39:30 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-12 06:39:50 -0400 |
commit | 4c7145a1ec1bb789d5f07e47510e8bda546a7c4a (patch) | |
tree | e2767b77e5413473a3bba302237f4669a203f183 /include/asm-mips/mach-pnx8550/uart.h | |
parent | 74e91604b2452c15bbe72d77b37cf47ed0310d13 (diff) | |
parent | fd048088306656824958e7783ffcee27e241b361 (diff) |
Merge branch 'linus' into x86/spinlocks
Done to prevent this failure of an Octopus merge:
Added arch/arm/include/asm/byteorder.h in both, but differently.
ERROR: Merge conflict in arch/arm/include/asm/byteorder.h
Auto-merging include/asm-x86/spinlock.h
ERROR: Merge conflict in include/asm-x86/spinlock.h
fatal: merge program failed
Diffstat (limited to 'include/asm-mips/mach-pnx8550/uart.h')
-rw-r--r-- | include/asm-mips/mach-pnx8550/uart.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/asm-mips/mach-pnx8550/uart.h b/include/asm-mips/mach-pnx8550/uart.h deleted file mode 100644 index ad7608d44874..000000000000 --- a/include/asm-mips/mach-pnx8550/uart.h +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | #ifndef __IP3106_UART_H | ||
2 | #define __IP3106_UART_H | ||
3 | |||
4 | #include <int.h> | ||
5 | |||
6 | /* early macros for kgdb use. fixme: clean this up */ | ||
7 | |||
8 | #define UART_BASE 0xbbe4a000 /* PNX8550 */ | ||
9 | |||
10 | #define PNX8550_UART_PORT0 (UART_BASE) | ||
11 | #define PNX8550_UART_PORT1 (UART_BASE + 0x1000) | ||
12 | |||
13 | #define PNX8550_UART_INT(x) (PNX8550_INT_GIC_MIN+19+x) | ||
14 | #define IRQ_TO_UART(x) (x-PNX8550_INT_GIC_MIN-19) | ||
15 | |||
16 | /* early macros needed for prom/kgdb */ | ||
17 | |||
18 | #define ip3106_lcr(base, port) *(volatile u32 *)(base+(port*0x1000) + 0x000) | ||
19 | #define ip3106_mcr(base, port) *(volatile u32 *)(base+(port*0x1000) + 0x004) | ||
20 | #define ip3106_baud(base, port) *(volatile u32 *)(base+(port*0x1000) + 0x008) | ||
21 | #define ip3106_cfg(base, port) *(volatile u32 *)(base+(port*0x1000) + 0x00C) | ||
22 | #define ip3106_fifo(base, port) *(volatile u32 *)(base+(port*0x1000) + 0x028) | ||
23 | #define ip3106_istat(base, port) *(volatile u32 *)(base+(port*0x1000) + 0xFE0) | ||
24 | #define ip3106_ien(base, port) *(volatile u32 *)(base+(port*0x1000) + 0xFE4) | ||
25 | #define ip3106_iclr(base, port) *(volatile u32 *)(base+(port*0x1000) + 0xFE8) | ||
26 | #define ip3106_iset(base, port) *(volatile u32 *)(base+(port*0x1000) + 0xFEC) | ||
27 | #define ip3106_pd(base, port) *(volatile u32 *)(base+(port*0x1000) + 0xFF4) | ||
28 | #define ip3106_mid(base, port) *(volatile u32 *)(base+(port*0x1000) + 0xFFC) | ||
29 | |||
30 | #endif | ||