Re: [patch 2.6.13-rc2] pci: restore BAR values from pci_set_power_state for D3hot->D0

John W. Linville
2005-07-11T13:16:26Z

On Mon, Jul 11, 2005 at 02:48:44PM +0200, Lennert Buytenhek wrote:
> On Fri, Jul 08, 2005 at 02:34:56PM -0400, John W. Linville wrote:
>
> > Some PCI devices lose all configuration (including BARs) when
> > transitioning from D3hot->D0. This leaves such a device in an
> > inaccessible state. The patch below causes the BARs to be restored
> > when enabling such a device, so that its driver will be able to
> > access it.
>
> It might be useful to have this functionality exported to outside of
> the generic PCI code.

Fine by me...patch to follow...

John
--
John W. Linville
linville@tuxdriver.com