From: Lucio De Re <lucio@proxima.alt.za>
To: 9fans@cse.psu.edu
Subject: Re: UART device driver (Was: [9fans] random moving of cursor arrow)
Date: Mon, 28 Jul 2003 07:36:41 +0200 [thread overview]
Message-ID: <20030728073640.C1666@cackle.proxima.alt.za> (raw)
In-Reply-To: <4e64a7709fe42fbfc4744c0171df28e2@plan9.bell-labs.com>; from jmk@plan9.bell-labs.com on Sat, Jul 26, 2003 at 01:50:56AM -0400
On Sat, Jul 26, 2003 at 01:50:56AM -0400, jmk@plan9.bell-labs.com wrote:
>
> If it's an ISA card then shared interrupts will not work.
>
It's engineered with a shared interrupt line and a status port (I
did neglect to mention these earlier). I had it working very nicely
under NetBSD but couldn't persuade the core team to let me put a
null vector in the kernel interrupt table so that I could detect
disabled ports. Since then, they have changed the I/O acccess so
much I have no idea whether I could port the driver to it.
> Use a line in plan9.ini for each port. Write a new driver (say
> uartisa.c) with a pnp function which calls allocates the necessary
> data structures and calls uarti8250alloc for each plan9.ini line,
> say
> uart0=type=i8250 port=XXX irq=Y
>
It seemed like the right idea as soon as I considered it. I can't
quite figure out how the eia0=disabled line works in plan9.ini,
but I need to look into this in more detail anyway.
> See /sys/src/9/pc/uartpci.c for many clues.
I will take a good look, I am quite curious about PCI-based serial
devices. I haven't given them any attention yet.
++L
next prev parent reply other threads:[~2003-07-28 5:36 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 ` UART device driver (Was: [9fans] random moving of cursor arrow) Lucio De Re
2003-07-25 14:56 ` boyd, rounin
2003-07-26 5:50 ` jmk
2003-07-28 5:36 ` Lucio De Re [this message]
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=20030728073640.C1666@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).