r8169 / PCI / PM: Add simplified runtime PM support (rev. 3)
commite175944115db6762d3e98520c709e5a87f933c61
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 14 Mar 2010 14:33:51 +0000 (14 14:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Mar 2010 04:23:34 +0000 (16 21:23 -0700)
treeb02c9f6128847c46a22504ee38357b4009022fc0
parentff6e2163f28a1094fb5ca5950fe2b43c3cf6bc7a
r8169 / PCI / PM: Add simplified runtime PM support (rev. 3)

Use the PCI runtime power management framework to add basic PCI
runtime PM support to the r8169 driver.  Namely, make the driver
suspend the device when the link is not present and set it up for
generating a wakeup event after the link has been detected again.
[This feature is disabled until the user space enables it with the
help of the /sys/devices/.../power/contol device attribute.]

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