diff options
author | Vitaly Wool <vitalywool@gmail.com> | 2006-10-04 19:19:58 +0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-10-04 18:06:15 +0100 |
commit | 7009af8cd37f7904939aec6bd2325c581abd7cac (patch) | |
tree | bcf4dcda14c662a4d0394c54f2f05731655e3256 /arch/mips/philips/pnx8550/common/prom.c | |
parent | 4a61f17378c2cdd9bd8f34ef8bd7422861d0c1f1 (diff) |
[MIPS] PNX8550 fixups
This patch fixes the compilation errors on PNX8550 and hard-to-track
bug in interrupt handling.
It also corresponds to the latest changes in PNX8550 serial driver.
Signed-off-by: Vitaly Wool <vitalywool@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/philips/pnx8550/common/prom.c')
-rw-r--r-- | arch/mips/philips/pnx8550/common/prom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/philips/pnx8550/common/prom.c b/arch/mips/philips/pnx8550/common/prom.c index 70aac975941..f8952c1359c 100644 --- a/arch/mips/philips/pnx8550/common/prom.c +++ b/arch/mips/philips/pnx8550/common/prom.c @@ -13,7 +13,7 @@ #include <linux/kernel.h> #include <linux/init.h> #include <linux/string.h> -#include <linux/serial_ip3106.h> +#include <linux/serial_pnx8xxx.h> #include <asm/bootinfo.h> #include <uart.h> @@ -126,7 +126,7 @@ void prom_putchar(char c) { if (pnx8550_console_port != -1) { /* Wait until FIFO not full */ - while( ((ip3106_fifo(UART_BASE, pnx8550_console_port) & IP3106_UART_FIFO_TXFIFO) >> 16) >= 16) + while( ((ip3106_fifo(UART_BASE, pnx8550_console_port) & PNX8XXX_UART_FIFO_TXFIFO) >> 16) >= 16) ; /* Send one char */ ip3106_fifo(UART_BASE, pnx8550_console_port) = c; |