Subject: Re: access to external proms for PCI
To: Jason Thorpe <thorpej@shagadelic.org>
From: Allen Briggs <briggs@netbsd.org>
List: tech-kern
Date: 12/17/2005 16:02:45
On Sat, Dec 17, 2005 at 12:56:53PM -0800, Jason Thorpe wrote:
> >Actually, I'd kind of rather see:
> >	PCI_CONF_MAP_ROM	maps but does not enable the ROM
> >	PCI_CONF_ENABLE_ROM	implies PCI_CONF_MAP_ROM and also enables
> >				the space
> >	clear			Neither maps or enables the ROM
> How does this bring us closer to unifying PCI and CardBus?
> 
> Also, this seems kind of bad for e.g. ports that don't use the  
> kernel's PCI configuration code (relying on system firmware to do it,  
> instead).  And, you can't really, at the system level, blindly set  
> PCI_CONF_ENABLE_ROM anyway, because of the broken PCI device problem.

OK.  So how about just changing the PCI configuration code to not
enable the ROM after it's mapped?

Are the systems that have firmware initializing the bus at issue?

What would you suggest for bringing us closer to unifying PCI and CardBus?

-allen

-- 
                  Use NetBSD!  http://www.NetBSD.org/