Subject: Re: problem with bus_space_map
To: Anand Lalgondar <solarflares@fastmail.fm>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 02/12/2004 12:00:34
On Thu, Feb 12, 2004 at 10:37:47AM +0530, Anand Lalgondar wrote:
> Well something came to my mind when reading this. Here the user is not
> sure whether the memory that he requires is free or is mapped to some
> device. Now if there was a table that would store the name, physical
> address, virtual address, size allocated and IRQ number, for all type of
> devices (when they get configured) that would be helpful to people who
> struggle to find what type of memory to be allocated.

bus_space already has this. But it can't keep track of memory mapped
for devices not (yet) attached.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--