Subject: Re: LAN adapter driver
To: Christian Groessler <cpg@aladdin.de>
From: Marcus Comstedt <marcus@mc.pp.se>
List: port-dreamcast
Date: 06/27/2002 00:21:08
Christian Groessler <cpg@aladdin.de> writes:

> A new version of the lan adapter patch is on
> ftp://ftp.groessler.org/pub/chris/dreamcast/netbsd/lan-adapter
> It also contains the patch to mb86960.c which I already submitted as
> kern/17193.
> 
> Also there is the main file of the patch, lan_adapter.c, in plain
> format (non-patch).
> 
> The driver now attachs to the g2 bus.

Great.


> In the mean time I did it the following way: The lana_match and
> lana_detect functions memcpy the bus_space_tag they got from the g2
> bus driver to local storage, and replace some entries with local
> routines. The local routines adapt the offset and chain to the
> original g2 routines.

That sounds about right.  Maybe Jason can suggest something "cleaner",
but this definitely looks like it should work.


  // Marcus