linux_dsm_epyc7002/drivers/net/ethernet/realtek
Heiner Kallweit a92a08499b r8169: improve runtime pm in general and suspend unused ports
So far rpm doesn't cover cases like unused ports which are never
brought up. If they are active at probe time they remain in this state.
Included in this patch:

- Let the idle notification check whether we can suspend and let it
  schedule the suspend. This way we don't need to have calls to
  pm_schedule_suspend in different places.

- At the end of rtl_open and rtl_init_one send an idle notification
  to allow suspending if the link is down. If a cable is plugged in
  aneg is finished before the suspend timer expires and the suspend
  request is cancelled.

- Change rtl8169_runtime_suspend to power down the chip if the
  interface is down.

Successfully tested on a RTL8168evl (mac version 34).

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-09 12:38:56 -05:00
..
8139cp.c 8139cp: Replace WARN_ONCE with netdev_WARN_ONCE 2018-01-08 20:53:15 -05:00
8139too.c 8139too: revisit napi_complete_done() usage 2017-09-18 20:57:00 -07:00
atp.c drivers/net: realtek: Convert timers to use timer_setup() 2017-10-27 12:09:16 +09:00
atp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile
r8169.c r8169: improve runtime pm in general and suspend unused ports 2018-01-09 12:38:56 -05:00