diff options
author | Ansuel Smith <[email protected]> | 2021-11-02 19:30:41 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-11-03 14:21:06 +0000 |
commit | 5f15d392dcb4aa250a63d6f2c5adfc26c0aedc78 (patch) | |
tree | 32bc16133e832da12436e7c3d179fc1adf9be856 /lib/netdev-notifier-error-inject.c | |
parent | 563bcbae3ba233c275c244bfce2efe12938f5363 (diff) |
net: dsa: qca8k: make sure PAD0 MAC06 exchange is disabled
Some device set MAC06 exchange in the bootloader. This cause some
problem as we don't support this strange mode and we just set the port6
as the primary CPU port. With MAC06 exchange, PAD0 reg configure port6
instead of port0. Add an extra check and explicitly disable MAC06 exchange
to correctly configure the port PAD config.
Signed-off-by: Ansuel Smith <[email protected]>
Fixes: 3fcf734aa482 ("net: dsa: qca8k: add support for cpu port 6")
Reviewed-by: Vladimir Oltean <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions