Staging
v0.5.2
https://github.com/torvalds/linux
Raw File
Tip revision: f695baf2df9e0413d3521661070103711545207a authored by Linus Torvalds on 22 July 2007, 20:41:00 UTC
Linux 2.6.23-rc1
Tip revision: f695baf
console.c
/*
 * (C) P. Horton 2006
 */
#include <linux/serial_reg.h>

#include <asm/addrspace.h>

#include <cobalt.h>

void prom_putchar(char c)
{
	while(!(COBALT_UART[UART_LSR] & UART_LSR_THRE))
		;

	COBALT_UART[UART_TX] = c;
}
back to top