diff options
| author | Florian Fainelli <[email protected]> | 2019-10-31 22:54:05 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-11-01 22:08:21 +0000 |
| commit | 5fc0f21246e50afdf318b5a3a941f7f4f57b8947 (patch) | |
| tree | ef53f3d2d2a4894f656f182e6b6ac0f85e547490 /drivers/usb/cdns3/cdns3-ti.c | |
| parent | net: phylink: Fix phylink_dbg() macro (diff) | |
| download | kernel-5fc0f21246e50afdf318b5a3a941f7f4f57b8947.tar.gz kernel-5fc0f21246e50afdf318b5a3a941f7f4f57b8947.zip | |
net: dsa: bcm_sf2: Fix IMP setup for port different than 8
Since it became possible for the DSA core to use a CPU port different
than 8, our bcm_sf2_imp_setup() function was broken because it assumes
that registers are applicable to port 8. In particular, the port's MAC
is going to stay disabled, so make sure we clear the RX_DIS and TX_DIS
bits if we are not configured for port 8.
Fixes: 9f91484f6fcc ("net: dsa: make "label" property optional for dsa2")
Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions
