Subject: Re: LAN adapter driver
To: None <email@example.com>
From: Christian Groessler <firstname.lastname@example.org>
Date: 06/10/2002 23:25:46
> Christian Groessler <email@example.com> writes:
> > I have a question:
> > According to the KOS library, the lan adapter is sitting on the G2
> > bus. Since the lan adapter has a special register decoding, I gave it
> > its own bus sitting on the shb bus.
> There is already an implementation of a G2 bus driver (used by the BBA
> driver). You should use that one instead of making a new one. Just
> yourdriver* at g2bus?
> instead of
> yourdriver* at shb?
> in your kernel config and you'll get a proper bus_space
Hmm, but the g2bus_bus_mem.c doesn't do this regaddr*4 thingy. How
will should it work?
> implementation. Also, you should check if the LAN adapter doesn't use
> the same PCI bridge chip (the GAPSPCI) as the BBA, in that case you
How can I do this? Can I detect GAPSPCI's presence?
> can use that driver too, and use an existing PCI driver for the
> ethernet chip.
I haven't found an existing NetBSD PCI driver using this chip