diff options
author | Yan, Zheng <[email protected]> | 2012-01-04 20:23:37 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2012-01-05 13:12:03 -0500 |
commit | 749ab2cd127046df79084b6b9165b23491b1db5f (patch) | |
tree | fd91fc5d9907d6cffd74876c80acc386d2dd7dac /net/lapb/lapb_timer.c | |
parent | bdbc063129e811264cd6c311d8c2d9b95de01231 (diff) |
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 <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions