From: Yan, Zheng Date: Wed, 4 Jan 2012 20:23:37 +0000 (+0000) Subject: igb: add basic runtime PM support X-Git-Tag: v3.3-rc1~182^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=749ab2cd127046df79084b6b9165b23491b1db5f;p=pandora-kernel.git igb: add basic runtime PM support Use the runtime power management framework to add basic runtime PM support to the igb driver. Namely, make the driver suspend the device when the link is off and set it up for generating a wakeup event after the link has been detected again. This feature is disabled by default. Based on e1000e's runtime PM code. Changes since v1: Don't suspend the device when shutting down the interface. Avoid race between runtime suspending and ethtool operations. Signed-off-by: Zheng Yan Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed