ISA SIO Problems

Tom Rini trini at kernel.crashing.org
Wed Aug 1 01:05:52 EST 2001


On Mon, Jul 30, 2001 at 08:52:09PM -0700, James F Dougherty wrote:

> When I fixed this, I immediately got console garbage (DLL value wrong for baud),
> so I hard-coded the com1 uart baud to 9600 as a temporary hack.

Er, check out the 'serial_struct' I think it is, in include/linux/serial.h,
you might try setting the 'custom_divisor' field, maybe..

> On the baud mismatch, I found out that my system uses a 14.3Mhz UART crystal,
> so the baud rates should change. Is there a clean way to change a #define, or
> should I define my own baud2code/code2baud translation routines. What is the
> cleanest way todo this?

In include/asm-ppc/mousse_serial.h: #define BASE_BAUD (14300000 / 16) maybe?

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list