Subject: Re: LAN adapter driver
To: None <thorpej@wasabisystems.com>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-dreamcast
Date: 06/12/2002 07:58:55
In article <20020611145647.H371@dr-evil.conference.usenix.org>
thorpej@wasabisystems.com wrote:

> On Mon, Jun 10, 2002 at 11:25:46PM +0200, Christian Groessler wrote:
> 
>  > Hmm, but the g2bus_bus_mem.c doesn't do this regaddr*4 thingy. How
>  > will should it work?
> 
> One option is for your machine-dependent front-end to the 86960 driver
> to create its down bus_space_tag which inherits much of the G2 space tag,
> but overrides the space access methods as necessary.  There is some precedence
> for this in other NetBSD ports which have similar issues.

There is a sample bus_space implementation for wdc driver
on the dreamcast external bus by Kiyoshi IKEHARA:
http://www.ma.nma.ne.jp/~ikehara/dc/dcwdc.html
http://www.ma.nma.ne.jp/~ikehara/dc/dcwdc010803.patch
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp