Subject: Re: Broadband adapter again...
To: Marcus Comstedt <marcus@idonex.se>
From: Jason R Thorpe <thorpej@zembu.com>
List: port-dreamcast
Date: 01/29/2001 07:54:36
On Mon, Jan 29, 2001 at 04:19:23AM +0100, Marcus Comstedt wrote:

 > But isn't the point of bus_space_* to be able to have several
 > different implementations at the same time?  For example, the
 > implementation for the G2 bus should be different from the one for the
 > SH bus, although both are present in the Dreamcast at the same time.
 > The Dreamcast can't be the only NetBSD platform that has such
 > requirements?

The Alpha port, for example, has a bus_space_tag filled with function
pointers for each operation.  You could use a similar strategy.

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>