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

John W. Linville
2005-07-27T14:12:04Z

[-- Attachment #1: Type: text/plain, Size: 872 bytes --]

On Tue, Jul 26, 2005 at 09:36:02PM -0400, John W. Linville wrote:
> On Tue, Jul 26, 2005 at 04:49:34PM -0700, Greg KH wrote:

> > This code doesn't even build, as need_restore isn't a global variable.
>
> Hmmm...you must be missing this hunk from the patch posted on July 8?

> > Care to redo this patch (and merge it with your other one) and resend
> > it?
>
> I'll be happy to do so, and include the other comment tweaks that
> Grant requested. I should get to it tomorrow morning.

Looks like there was enough change between 8 July and now that patch
(the utility) got confused. When I applied my 8 July patch against a
current tree, it put the last hunk in some totally different function.
This probably accounts for the compile failure you saw... :-)

New patch (w/ comment tweaks and symbol export) to follow...

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