]> git.karo-electronics.de Git - mv-sheeva.git/commit
forcedeth: Do not use legacy PCI power management
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 7 Jan 2011 11:12:05 +0000 (11:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jan 2011 00:20:29 +0000 (16:20 -0800)
commitdba5a68ae147d0672d4b9259f3ece37777f8b2fa
tree4126af0f0cbc00dcac3f1f7156a975916f124147
parent14934efab62201c176c620bd598b34b59acb6796
forcedeth: Do not use legacy PCI power management

The forcedeth driver uses the legacy PCI power management, so it has
to do PCI-specific things in its ->suspend() and ->resume() callbacks
and some of them are not done correctly.

Convert forcedeth 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 with nVidia Corporation MCP55 Ethernet (rev a2).

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/forcedeth.c