linux_dsm_epyc7002/drivers/net/ethernet/mediatek
Russell King d46b7e4fb0 net: phylink: rename mac_link_state() op to mac_pcs_get_state()
Rename the mac_link_state() method to mac_pcs_get_state() to make it
clear that it should be returning the MACs PCS current state, which
is used for inband negotiation rather than just reading back what the
MAC has been configured for. Update the documentation to explicitly
mention that this is for inband.

We drop the return value as well; most of phylink doesn't check the
return value and it is not clear what it should do on error - instead
arrange for state->link to be false.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
2019-11-23 16:13:39 -08:00
..
Kconfig net: ethernet: mediatek: Add basic PHYLINK support 2019-08-27 20:19:27 -07:00
Makefile net: ethernet: mediatek: fix mtk_eth_soc build errors & warnings 2019-06-05 11:35:16 -07:00
mtk_eth_path.c net: mediatek: remove unneeded semicolon 2019-10-28 16:36:24 -07:00
mtk_eth_soc.c net: phylink: rename mac_link_state() op to mac_pcs_get_state() 2019-11-23 16:13:39 -08:00
mtk_eth_soc.h net: ethernet: mediatek: Enable GDM GDMA_DROP_ALL mode 2019-11-14 15:13:28 -08:00
mtk_sgmii.c net: mediatek: remove unneeded semicolon 2019-10-28 16:36:24 -07:00