brcm63xx: fix number of switch ports for BCM63168/63268
authorJonas Gorski <jogo@openwrt.org>
Sat, 22 Feb 2014 11:16:44 +0000 (11:16 +0000)
committerJonas Gorski <jogo@openwrt.org>
Sat, 22 Feb 2014 11:16:44 +0000 (11:16 +0000)
commit1505d97a0c0d89c25e6ced0021e23f91b78a4e9f
tree3ddb11ad8b984ddd2eb33d72deb0ffc99c24b4ba
parent7e53138e176ecd0d32ad9a20c9e38978717b5fc1
brcm63xx: fix number of switch ports for BCM63168/63268

BCM63168 has 6 ports (3 FE PHY, 1 GE PHY, two RGMII) and BCM63268
has two additional RGMII ports, making it 8.
Fix this by checking the chip variant and applying an appropriate
limit.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39677
target/linux/brcm63xx/patches-3.10/339-MIPS-BCM63XX-add-support-for-BCM63268.patch
target/linux/brcm63xx/patches-3.10/341-MIPS-BCM63XX-add-support-for-BCM6318.patch