diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-30 21:37:12 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-30 21:37:12 -0500 |
commit | 23fd07750a789a66fe88cf173d52a18f1a387da4 (patch) | |
tree | 06fdd6df35fdb835abdaa9b754d62f6b84b97250 /include/asm-mips/mach-pnx8550/uart.h | |
parent | bd787d438a59266af3c9f6351644c85ef1dd21fe (diff) | |
parent | ed28f96ac1960f30f818374d65be71d2fdf811b0 (diff) |
Merge ../linux-2.6 by hand
Diffstat (limited to 'include/asm-mips/mach-pnx8550/uart.h')
-rw-r--r-- | include/asm-mips/mach-pnx8550/uart.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/asm-mips/mach-pnx8550/uart.h b/include/asm-mips/mach-pnx8550/uart.h new file mode 100644 index 000000000000..e32b9a23d70e --- /dev/null +++ b/include/asm-mips/mach-pnx8550/uart.h | |||
@@ -0,0 +1,16 @@ | |||
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 | #endif | ||