> Hi,
> I have a SA-1110 based linux box with a ST16C554 UART.
> I want to use all the ports of 16C554. And I also want to use 
> UARTs of SA-1110.
> The problem is that I cannot load the device driver for 
> 16C554 (original serial.c + some address modification + 
> Console disabled) with that of SA-1110(serial_sa1100.c). They 
> both use the bottom half of SERIAL_BH. And when I load the  
> device driver for 16C554, it replaces bottom half handler of 
> serial_sa1100.c with its own. So system crashes after init 
> process begins. Can any body tell me the easiest way to use 
> 16C554 and SA-1110 UART simultaneously?
> 
> Thanks,
> 
> K. Young Park

There really isn't much to do in the serial.c driver except the addressing
as you mentioned, and commenting out the automatic interrupt discovery code
while substituting suitable interrupt numbers for each uart in the
ST16C554.  I have this mostly working fine in 2.4.0 although there is that
slight bottom half issue you mention (which I'll address when I get the
time).  However, the on-chip uart 3 works fine for console and early output
even with the serial.c driver loaded.  I never tested any other of the
SA1110 uarts as they weren't used in my design.  Try loading serial.o as a
module instead of building it into the kernel and let me know what happens.

//Jeff


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to