On Tue, Jul 7, 2009 at 11:16 AM, Myles Watsonmylesgw@gmail.com wrote:
Myles Watson wrote:
I guess I was also asking what it means for a device to be disabled.
Disabled how? In Config.lb ?
Yes.
Does that mean that we don't touch it at all? Should we read config space values from a disabled device?
My gut reaction is that reading config space also from disabled devices ought to be OK.
Counter-question: What are the reasons for disabling a device?
The reason I'm doing it is the device is flaky. I can't trust what I get back from it. Sometimes it doesn't respond at all. Another reason would be for onboard graphics that you don't want to use.
I guess we should be clear. We don't disable the device. We skip it and don't enable the BARs. The device header is still in PCI config space and can be accessed any time.
Marc