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

From: John W. Linville
Date: Mon Jul 11 2005 - 08:17:21 EST


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@xxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/