Mark the netdevice as detached whenever parent is in PCI D3hot and not
accessible. This mainly applies to runtime-suspend state.
In addition take RTNL lock in suspend calls, this allows to remove
the driver-specific mutex and improve PM callbacks in general.

Heiner Kallweit (7):
  net: core: try to runtime-resume detached device in __dev_open
  r8169: mark device as not present when in PCI D3
  r8169: remove no longer needed checks for device being runtime-active
  r8169: add rtl8169_up
  r8169: use RTNL to protect critical sections
  r8169: remove driver-specific mutex
  r8169: improve rtl8169_runtime_resume

 drivers/net/ethernet/realtek/r8169_main.c | 181 +++++-----------------
 net/core/dev.c                            |  10 +-
 2 files changed, 49 insertions(+), 142 deletions(-)

-- 
2.27.0

Reply via email to