[SCSI] qla1280: convert to use the data buffer accessors
[linux-2.6/verdex.git] / arch / mips / cobalt / console.c
blobdb330e811025d36cf9a33a1b2a2c6d169d1a9e23
1 /*
2 * (C) P. Horton 2006
3 */
4 #include <linux/io.h>
5 #include <linux/serial_reg.h>
7 #define UART_BASE ((void __iomem *)CKSEG1ADDR(0x1c800000))
9 void prom_putchar(char c)
11 while (!(readb(UART_BASE + UART_LSR) & UART_LSR_THRE))
14 writeb(c, UART_BASE + UART_TX);