brcm63xx: fix number of switch ports for BCM63168/63268
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 22 Feb 2014 11:16:44 +0000 (11:16 +0000)
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 22 Feb 2014 11:16:44 +0000 (11:16 +0000)
commit6f3f9388ffac260f81d483f276a0d1b68062661e
tree3ddb11ad8b984ddd2eb33d72deb0ffc99c24b4ba
parentfadaddac3599cef7831400bc0a37c78374a434d3
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