]> git.baikalelectronics.ru Git - kernel.git/commit
r8169 / PCI / PM: Add simplified runtime PM support (rev. 3)
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 14 Mar 2010 14:33:51 +0000 (14:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Mar 2010 04:23:34 +0000 (21:23 -0700)
commitebbee677e1a2684b966f61268ccccc69be5b611b
treeb02c9f6128847c46a22504ee38357b4009022fc0
parentc73aaab55c75d697f268b7123ff768d9f8d9b121
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