aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/philips/pnx8550/common/prom.c
diff options
context:
space:
mode:
authorVitaly Wool <vitalywool@gmail.com>2006-10-04 11:19:58 -0400
committerRalf Baechle <ralf@linux-mips.org>2006-10-04 13:06:15 -0400
commit7009af8cd37f7904939aec6bd2325c581abd7cac (patch)
treebcf4dcda14c662a4d0394c54f2f05731655e3256 /arch/mips/philips/pnx8550/common/prom.c
parent4a61f17378c2cdd9bd8f34ef8bd7422861d0c1f1 (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.c4
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 70aac9759412..f8952c1359cd 100644
--- a/arch/mips/philips/pnx8550/common/prom.c
+++ b/arch/mips/philips/pnx8550/common/prom.c
@@ -13,7 +13,7 @@
13#include <linux/kernel.h> 13#include <linux/kernel.h>
14#include <linux/init.h> 14#include <linux/init.h>
15#include <linux/string.h> 15#include <linux/string.h>
16#include <linux/serial_ip3106.h> 16#include <linux/serial_pnx8xxx.h>
17 17
18#include <asm/bootinfo.h> 18#include <asm/bootinfo.h>
19#include <uart.h> 19#include <uart.h>
@@ -126,7 +126,7 @@ void prom_putchar(char c)
126{ 126{
127 if (pnx8550_console_port != -1) { 127 if (pnx8550_console_port != -1) {
128 /* Wait until FIFO not full */ 128 /* Wait until FIFO not full */
129 while( ((ip3106_fifo(UART_BASE, pnx8550_console_port) & IP3106_UART_FIFO_TXFIFO) >> 16) >= 16) 129 while( ((ip3106_fifo(UART_BASE, pnx8550_console_port) & PNX8XXX_UART_FIFO_TXFIFO) >> 16) >= 16)
130 ; 130 ;
131 /* Send one char */ 131 /* Send one char */
132 ip3106_fifo(UART_BASE, pnx8550_console_port) = c; 132 ip3106_fifo(UART_BASE, pnx8550_console_port) = c;