Subject: Sharing bus_space maps between drivers
To: None <tech-kern@netbsd.org>
From: Jonathan Perkin <jonathan@perkin.org.uk>
List: tech-kern
Date: 12/29/2006 12:38:33
The last hurdle in getting DRI (3D support) working on NetBSD, at
least with LKMs for now, is allowing the DRI kernel part to configure
the chipset.

However, the PCI BARs are already mapped in the agp driver, and so any
subsequent attempt to map them with bus_space, as the DRI does, fails.

Are there any examples in-tree of devices which share the mappings, or
infrastructure designed to allow concurrent access?  I'm presuming
that the only reason this worked before a couple of years back is that
the agp device wasn't enabled then.

Thanks,

-- 
Jonathan Perkin                                     The NetBSD Project
http://www.perkin.org.uk/                       http://www.netbsd.org/