ppc_md.udbg_putc = udbg_550_putc; ppc_md.udbg_getc = udbg_550_getc; ppc_md.udbg_getc_poll = udbg_550_getc_poll; 
udbg_putc = udbg_550_putc; udbg_getc = udbg_550_getc; udbg_getc_poll = udbg_550_getc_poll; 
void udbg_init_uart(void __iomem *comport, unsigned int speed){	u16 dll = speed ? (115200 / speed) : 12;	if (comport) {		udbg_comport = (struct NS16550 __iomem *)comport;		out_8(&udbg_comport->lcr, 0x00);		out_8(&udbg_comport->ier, 0xff);		out_8(&udbg_comport->ier, 0x00);		out_8(&udbg_comport->lcr, 0x80);	/* Access baud rate */		out_8(&udbg_comport->dll, dll & 0xff);	/* 1 = 115200,  2 = 57600,							   3 = 38400, 12 = 9600 baud */		out_8(&udbg_comport->dlm, dll >> 8);	/* dll >> 8 which should be zero							   for fast rates; */		out_8(&udbg_comport->lcr, 0x03);	/* 8 data, 1 stop, no parity */		out_8(&udbg_comport->mcr, 0x03);	/* RTS/DTR */		out_8(&udbg_comport->fcr ,0x07);	/* Clear & enable FIFOs */		ppc_md.udbg_putc = udbg_550_putc;		ppc_md.udbg_getc = udbg_550_getc;		ppc_md.udbg_getc_poll = udbg_550_getc_poll;	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/c8f1c8be629ee34991fdba8bfe46a5c455393209/udbg_16550.c/buggy/arch/ppc64/kernel/udbg_16550.c