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)
commit2cb29481104f072b8c27e620fe205ef0273c4c4e
tree3ddb11ad8b984ddd2eb33d72deb0ffc99c24b4ba
parent61188a63b3371db2923ee05b857c29502badb2b0
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39677 3c298f89-4303-0410-b956-a3cf2f4a3e73
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