r8169: make use of phy_set_asym_pause
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 4 May 2019 10:01:03 +0000 (12:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 May 2019 17:49:48 +0000 (10:49 -0700)
commit9cf9b84cc701c791a4d864ae61b673059ea32d04
treec901d1d3ff724ec0e6dcb80095d01ffc472dc597
parent6e05b833de447b6718735d0315fb18fb411ef8ca
r8169: make use of phy_set_asym_pause

phy_probe() takes care that all supported modes are advertised,
in addition use phy_support_asym_pause() to advertise pause modes.
This way we don't have to deal with phylib internals directly.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c