Discovery gt64260_mpsc.c serial port driver
willy at synergymicro.com
Sat Jan 11 12:48:49 EST 2003
We've ported the gt64260_mpsc.c driver from the MontaVista tree
to the Gemini kernel. We're not using the 2 async serial ports
as console ports (we have 16552 UARTs for that), but as aux ports.
The driver seems to work OK when connected as a 9600-baud terminal
port and typed at by hand. But we tried a loop back test, with
one port writing into the other and had all kinds of problems:
If we run 1 gt64260 port into the other, we never get any
received data - all the interrupts are "Tx done", but never
"Rx buffer ready".
If we write from a 16552 port into the gt64260, sending 1 character
at a time, with a 2-second loop delay, we can read OK. But
if we take out the delay, or write a line at a time, the gt64260
gets 1 Rx interrupt for the 1st character, and that's all.
Has anyone used the gt64260_mpsc driver for anything other than
a manual console? Is there a reason why the driver appears to
not work reading 1 port and writing the other simultaneously?
I've read the gt64260 errata and haven't found anything that
appears to be related.
Also, the driver came with the major device number set to 4 and
device name "/dev/ttys0". We had to change the major to something
else (240 at the moment, and "/dev/ttyGT0") to keep the driver
from colliding with the real console. Is there an official major
number and tty device name for the gt64260 when it's not used as
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev