> > I'm hoping one or two things will happen now: > > * janitors fix up the other PCI drivers along these lines > > * improve the PCI API so that pci_request_regions() is axiomatic > > Do you have any suggestions for how to do this?
One would be to keep an "enabler" count. If the device is enabled at boot then set it to one (video, legacy IDE etc) and it never gets back to zero. Otherwise set it to zero and it goes up and down with the last [ab]user clearing it to zero and turning it off. That also deals with the "who disables" question for power mismanagement where the same problem occurs Alan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/