aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2018-05-10 13:17:33 -0700
committerDavid S. Miller <davem@davemloft.net>2018-05-11 12:03:05 -0400
commitbc0cb653a3f06b5a1ee9f12cc1c367a8736aca28 (patch)
tree7c36f5dd58ae1954746c6e11313641d9e281eb46 /net/dsa
parentnet: dsa: Add PHYLINK switch operations (diff)
downloadlinux-dev-bc0cb653a3f06b5a1ee9f12cc1c367a8736aca28.tar.xz
linux-dev-bc0cb653a3f06b5a1ee9f12cc1c367a8736aca28.zip
net: dsa: bcm_sf2: Implement phylink_mac_ops
Make the bcm_sf2 driver implement phylink_mac_ops since it needs to support a wide variety of network interfaces: internal & external MDIO PHYs, fixed PHYs, MoCA with MMIO link status. A large amount of what needs to be done already exists under bcm_sf2_sw_adjust_link() so we are essentially breaking this down into the necessary operation for PHYLINK to work: mac_config, mac_link_up, mac_link_down and validate. We can now entirely get rid of most of what fixed_link_update() provided because only the link information is actually necessary. We still have to force DUPLEX_FULL for legacy Device Tree bindings that did not specify that before. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions