From: Lucio De Re <lucio@proxima.alt.za>
To: 9fans@cse.psu.edu
Subject: UART device driver (Was: [9fans] random moving of cursor arrow)
Date: Fri, 25 Jul 2003 16:35:19 +0200 [thread overview]
Message-ID: <20030725163518.Z28024@cackle.proxima.alt.za> (raw)
In-Reply-To: <20030725140808.12243.qmail@g.bio.cse.psu.edu>; from Scott Schwartz on Fri, Jul 25, 2003 at 10:08:08AM -0400
On Fri, Jul 25, 2003 at 10:08:08AM -0400, Scott Schwartz wrote:
>
> When doing a pull over ppp, eia1status reports lots of overruns. Watching
> the modem lights it looks like CS is always lit (not so under linux.)
> So I think something is not quite right in the uart driver.
There's been a rewrite since 3rd Ed (you may recall lack of serial
mouse support when 4th Ed was first released), and I had already
noted bad mouse response on an AMD 586 wanna-be, but recently a
faster CPU started showing signs of stress. At a glance, the
interupt handler does not seem bloated, but I haven't had a chance
to compare different versions.
I understand this is Presotto territory so we may have to wait for
his return. I'll have alook around in the meantime, the 8250 is
one chip I understood pretty well in my day. The FIFO adds a little
complexity I have not yet explored, but I don't think it's excessive.
I have a vested interest, anyway: I have a six-port BOCA card with
the most creative way of mapping its six ports to the I/O and
interrupt space and I'd like some suggestions on representing this
in plan9.ini.
For each port, I can specify one of two addresses, where the first
four may map to the conventional 3F8, 2F8, 3E8 and 2E8 of COM1, 2,
3 and 4 of yore. 3E0 and 2E0 are the options for the last two.
The alternatives are 220, 228, 240, 248, 260, 268 (all hex, of
course).
I think I can disable a port by leaving out the corresponding
jumper, too.
Then for each port I have a choice of IRQ 4, 3, 10, 11, 12 and 15,
respectively, or I can choose SHARED for any or all of them.
Shared, in turn, can be IRQ 4 or 5.
I'm looking for a way to indicate each of these options in plan9.ini,
keeping in mind that I may want to use the default eia0 and eia1
(I don't know how far these stretch, given that on the original PC
COM3 and COM4 uncomfortably shared IRQ$ and IRQ3 with COM1 and
COM2, respectively).
I thought of a six-character string like 112200 with 1 for IOP
option 1, 2 for option 2 and 0 for disabled, but it's ugly and
still does not help with shared IRQs.
I won't mind using six description lines, but I don't know the
plan9.ini syntax scanner well enough to implement such a thing
without some advice.
++L
PS: One last question, how would I handle a USB modem? Will I have
to provide my own support?
next prev parent reply other threads:[~2003-07-25 14:35 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-25 8:52 [9fans] random moving of cursor arrow sasa
2003-07-25 8:43 ` Lucio De Re
2003-07-26 15:59 ` David Presotto
2003-07-26 16:40 ` Dan Cross
2003-07-26 16:44 ` David Presotto
2003-07-26 17:10 ` Skip Tavakkolian
2003-07-26 17:14 ` Dan Cross
2003-07-26 17:19 ` rob pike, esq.
2003-07-26 17:23 ` boyd, rounin
2003-07-28 9:00 ` matt
2003-07-26 17:10 ` boyd, rounin
2003-07-28 5:48 ` Lucio De Re
2003-07-25 9:02 ` boyd, rounin
2003-07-25 9:01 ` Lucio De Re
2003-07-25 9:08 ` Fco.J.Ballesteros
2003-07-25 14:08 ` Scott Schwartz
2003-07-25 14:35 ` Lucio De Re [this message]
2003-07-25 14:56 ` UART device driver (Was: [9fans] random moving of cursor arrow) boyd, rounin
2003-07-26 5:50 ` jmk
2003-07-28 5:36 ` Lucio De Re
2003-07-25 9:17 ` [9fans] Re: random moving of cursor arrow sasa
2003-07-25 9:24 ` sasa
2003-07-25 9:25 ` sasa
2003-07-25 9:27 ` boyd, rounin
2003-07-26 2:22 ` David Presotto
2003-07-26 8:37 ` C H Forsyth
2003-07-26 8:51 ` boyd, rounin
2003-07-28 8:47 ` Douglas A. Gwyn
2003-07-26 15:37 ` David Presotto
2003-07-26 9:59 ` Enache Adrian
2003-08-07 13:52 ` David Presotto
2003-07-26 19:01 ` Richard Miller
2003-07-28 5:26 ` Lucio De Re
2003-07-28 6:18 ` Lucio De Re
2003-07-29 3:11 ` David Presotto
2003-07-25 10:27 ` sasa
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=20030725163518.Z28024@cackle.proxima.alt.za \
--to=lucio@proxima.alt.za \
--cc=9fans@cse.psu.edu \
/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).