Subject: Re: cardbus patches.
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-i386
Date: 05/29/1999 12:18:57
On Fri, 28 May 1999 20:29:00 -0700
Jonathan Stone <jonathan@DSG.Stanford.EDU> wrote:
> Um, no, even that's not it.
Um, yes it is.
> What we need to do is create a _subclassed_ instance of a
> bus_space_tag, and pass the (in C++ terms) `constructor' for a
> PCI-derived bus_space_tag `subclass' some extra arguments which tell
> it what the allowable `memory-space' window is on the sub-bus.
nonono...
The idea is that you want to have a range or list of ranges in the bus
space tag that bus_space_alloc() uses as the boundaries of the allocation
request.
...and when you create a CardBus bus space tag, you set the ranges to the
right thing, and then bus_space_alloc() just works.
-- Jason R. Thorpe <thorpej@nas.nasa.gov>