summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/mdio-mux-meson-g12a.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2020-03-30 19:44:55 +0200
committerDavid S. Miller <davem@davemloft.net>2020-03-30 20:52:27 +0200
commit4c0d6d3a7a81fcd2dcb4abf15fe2e13074cf8619 (patch)
tree66247c20e215aae9c50572d235daa230fe9e1f86 /drivers/net/phy/mdio-mux-meson-g12a.c
parentnet: phylink: rename 'ops' to 'mac_ops' (diff)
downloadlinux-4c0d6d3a7a81fcd2dcb4abf15fe2e13074cf8619.tar.xz
linux-4c0d6d3a7a81fcd2dcb4abf15fe2e13074cf8619.zip
net: phylink: add separate pcs operations structure
Add a separate set of PCS operations, which MAC drivers can use to couple phylink with their associated MAC PCS layer. The PCS operations include: - pcs_get_state() - reads the link up/down, resolved speed, duplex and pause from the PCS. - pcs_config() - configures the PCS for the specified mode, PHY interface type, and setting the advertisement. - pcs_an_restart() - restarts 802.3 in-band negotiation with the link partner - pcs_link_up() - informs the PCS that link has come up, and the parameters of the link. Link parameters are used to program the PCS for fixed speed and non-inband modes. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/mdio-mux-meson-g12a.c')
0 files changed, 0 insertions, 0 deletions