From: Rafael J. Wysocki Date: Sat, 25 Dec 2010 12:56:23 +0000 (+0000) Subject: tg3: Do not use legacy PCI power management X-Git-Tag: v2.6.38-rc1~476^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c866b7eac073198cef03ea6bac2dc978635a9f5c;p=pandora-kernel.git tg3: Do not use legacy PCI power management The tg3 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. Convert tg3 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 HP nx6325 with a NetXtreme BCM5788 adapter. Signed-off-by: Rafael J. Wysocki Signed-off-by: David S. Miller --- Reading git-diff-tree failed