Hello:
This series was applied to netdev/net.git (refs/heads/master):
On Thu, 2 Sep 2021 10:30:50 +0200 you wrote:
From: Rafał Miłecki <rafal@milecki.pl>
It isn't true that CPU port is always the last one. Switches BCM5301x
have 9 ports (port 6 being inactive) and they use port 5 as CPU by
default (depending on design some other may be CPU ports too).
A more reliable way of determining number of ports is to check for the
last set bit in the "enabled_ports" bitfield.
[...]
Here is the summary with links:
- [V2,net,1/2] net: dsa: b53: Fix calculating number of switch ports
https://git.kernel.org/netdev/net/c/cdb067d31c0f
- [V2,net,2/2] net: dsa: b53: Set correct number of ports in the DSA struct
https://git.kernel.org/netdev/net/c/d12e1c464988
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html