On Mon, May 21, 2007 at 08:51:17PM +0100, Ben Hewson wrote: > + /* enable fifo's */ > + outb(0x01, TTYS0_BASE + UART_FCR); > + /* assert DTR and RTS so the other end is happy */ > + outb(0x03, TTYS0_BASE + UART_MCR); > + /* Set Baud Rate Divisor to 1 ==> 115200 Baud */ > + outb(0x80 | TTYS0_LCS, TTYS0_BASE + UART_LCR);
No defines for all these "magic" values? > + outb(TTYS0_LCS, TTYS0_BASE + UART_LCR); TTYS0_LCS is not very clear as to what it does, but at least it's a define. :) //Peter -- linuxbios mailing list [email protected] http://www.linuxbios.org/mailman/listinfo/linuxbios
