repo.or.cz
/
linux-2.6
/
verdex.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[SCSI] qla1280: convert to use the data buffer accessors
[linux-2.6/verdex.git]
/
arch
/
mips
/
cobalt
/
console.c
blob
db330e811025d36cf9a33a1b2a2c6d169d1a9e23
1
/*
2
* (C) P. Horton 2006
3
*/
4
#include <linux/io.h>
5
#include <linux/serial_reg.h>
6
7
#define UART_BASE ((void __iomem *)CKSEG1ADDR(0x1c800000))
8
9
void
prom_putchar
(
char
c
)
10
{
11
while
(!(
readb
(
UART_BASE
+
UART_LSR
) &
UART_LSR_THRE
))
12
;
13
14
writeb
(
c
,
UART_BASE
+
UART_TX
);
15
}