Subject: Re: device driver
To: remi cartier <remi.cartier@epita.fr>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 04/05/2000 20:46:13
On Wed, Apr 05, 2000 at 01:27:40PM +0000, remi cartier wrote:
> Hi there,
> does anybody have a sample device driver for com1, well documented, or a
> good documentation on this topic ?

You mean a serial port ? Depends on the chip it uses, but you can have a look
at sys/dev/ic/com.c and sys/dev/isa/com_isa.c for the standart serial UART
ns16450/ns16550 (found on PCs and a few other machines).

--
Manuel Bouyer <bouyer@antioche.eu.org>
--