]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1b08efd298489d84a01fac4660bde0782e5951fd
treedc863dccdd228f21aabfde6e38839714bc3a629f
parent8ea7380257ddcd94c06010f89ffa72e749d03477
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