OSDN Git Service

net: dsa: bcm_sf2: Have PHYLINK configure CPU/IMP port(s)
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 15 Aug 2022 17:50:09 +0000 (10:50 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 17 Aug 2022 17:55:03 +0000 (10:55 -0700)
commit4d2f6dde4daa12315254485566968fe7c7432cfd
treedc863dccdd228f21aabfde6e38839714bc3a629f
parent1ed26ce4850accf88aedd1b1c7974a94396305d0
net: dsa: bcm_sf2: Have PHYLINK configure CPU/IMP port(s)

Remove the artificial limitations imposed upon
bcm_sf2_sw_mac_link_{up,down} and allow us to override the link
parameters for IMP port(s) as well as regular ports by accounting for
the special differences that exist there.

Remove the code that did override the link parameters in
bcm_sf2_imp_setup().

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/bcm_sf2.c