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)
commit60edb75e47927fa58df79ace6e76b8a4977cbd85
treefb8cca0adea34563d2a7606a9da5a9cf9ae2076e
parentedbfb81b56805c77242855f7b4be6f7fbe77c2a4
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