r8169: improve driver unload and system shutdown behavior on DASH-enabled systems
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 16 Mar 2022 21:31:00 +0000 (22:31 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Mar 2022 23:47:32 +0000 (16:47 -0700)
commit54744510fa9c056d388a019c4518a93956bc8db5
tree22537168ee2def5f9071a689d126770ace2f794b
parentfad6c1f1a109ee6f9d7090756f8ea44bc300b4f5
r8169: improve driver unload and system shutdown behavior on DASH-enabled systems

There's a number of systems supporting DASH remote management.
Driver unload and system shutdown can result in the PHY suspending,
thus making DASH unusable. Improve this by handling DASH being enabled
very similar to WoL being enabled.

Tested-by: Yanko Kaneti <yaneti@declera.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/1de3b176-c09c-1654-6f00-9785f7a4f954@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c