Subject: Re: Anyone know a good place to start an Sbus driver?
To: steven_grunza@ieee.org <steven_grunza@ieee.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-sparc
Date: 06/15/1999 19:03:41
On Tue, Jun 15, 1999 at 12:29:02PM -0400, Steven Grunza wrote:
> [...] 
> I've done device driver development in OS-9/OS-9000 so I have a clue 
> as to what needs doing, I just don't know how to do it the "NetBSD 
> (a.k.a. correct)" way. :)

A good start it to have a look at stuffs in sys/dev/sbus (a real good sample
is if_en.c: all what's needed to attach and talk to the sbus is there,
all bus-independant chip control is done in another file. There is another
front-end for PCI bus).
You'll also need to read the man pages bus_space(9) and bus_dma(9).

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--