mbox series

[0/2] net: phylink: add phylink_set_mac_pm() helper

Message ID 20221010203301.132622-1-shenwei.wang@nxp.com (mailing list archive)
Headers show
Series net: phylink: add phylink_set_mac_pm() helper | expand

Message

Shenwei Wang Oct. 10, 2022, 8:32 p.m. UTC
Per Russell's suggestion, the implementation is changed from the helper
function to add an extra property in phylink_config structure because this
change can easily cover SFP usecase too.

Shenwei Wang (2):
  net: phylink: add mac_managed_pm in phylink_config structure
  net: stmmac: Enable mac_managed_pm phylink config

 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 +
 drivers/net/phy/phylink.c                         | 4 ++++
 include/linux/phylink.h                           | 2 ++
 3 files changed, 7 insertions(+)

--
2.34.1