[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101231.111452.102554570.davem@davemloft.net>
Date: Fri, 31 Dec 2010 11:14:52 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: shemminger@...tta.com
Cc: rjw@...k.pl, netdev@...r.kernel.org,
shemminger@...ux-foundation.org,
linux-pm@...ts.linux-foundation.org
Subject: Re: [PATCH] sky2: Do not use legacy PCI power management
From: Stephen Hemminger <shemminger@...tta.com>
Date: Fri, 31 Dec 2010 10:15:21 -0800
> On Sun, 26 Dec 2010 19:44:32 +0100
> "Rafael J. Wysocki" <rjw@...k.pl> wrote:
>
>> From: Rafael J. Wysocki <rjw@...k.pl>
>>
>> The sky2 driver uses the legacy PCI power management, so it has to do
>> some PCI-specific things in its ->suspend() and ->resume() callbacks,
>> which isn't necessary and should better be done by the PCI
>> sybsystem-level power management code. Moreover, it uses
>> device_set_wakeup_enable() incorrectly (that function should be
>> used when the WoL setting is changed rather than during suspend).
>>
>> Convert sky2 to the new PCI power management framework and make it
>> let the PCI subsystem take care of all the PCI-specific aspects of
>> device handling during system power transitions.
>>
>> Tested on a desktop machine with a Marvell 88E8056 PCI-E adapter.
>>
>> Signed-off-by: Rafael J. Wysocki <rjw@...k.pl>
>
> Tested on 88E8055 (laptop), my desktop machines have video issues and
> won't suspend/resume.
>
> Acked-by: Stephen Hemminger <shemminger@...tta.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists