linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Bill Fincke <willy@synergymicro.com>
To: linuxppc-dev@lists.linuxppc.org
Subject: Discovery gt64260_mpsc.c serial port driver
Date: Fri, 10 Jan 2003 17:48:49 -0800	[thread overview]
Message-ID: <3E1F7800.7DDF49E@synergymicro.com> (raw)


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
the console?

Thanks,
  Bill Fincke
  Synergy Microsystems

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

                 reply	other threads:[~2003-01-11  1:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E1F7800.7DDF49E@synergymicro.com \
    --to=willy@synergymicro.com \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).