diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-04-19 11:38:24 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-04-19 11:38:24 +0000 |
commit | 440124dcbb94efd0fcd5a368bd6b34676ef27e3b (patch) | |
tree | 176d1f2300304f6ddefbe75d6fe19686185274f9 /target/linux/brcm63xx/patches-3.18/339-MIPS-BCM63XX-add-support-for-BCM63268.patch | |
parent | a285a0a03453549d96a4ea6b2af0c4d8aa038083 (diff) | |
download | mtk-20170518-440124dcbb94efd0fcd5a368bd6b34676ef27e3b.zip mtk-20170518-440124dcbb94efd0fcd5a368bd6b34676ef27e3b.tar.gz mtk-20170518-440124dcbb94efd0fcd5a368bd6b34676ef27e3b.tar.bz2 |
brcm63xx: allow using all four rgmii ports on bcm6316x
At least the third rgmii port is available on 63169, so assume all are
available. Simplifies cpu vs. variant handling.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45504
Diffstat (limited to 'target/linux/brcm63xx/patches-3.18/339-MIPS-BCM63XX-add-support-for-BCM63268.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.18/339-MIPS-BCM63XX-add-support-for-BCM63268.patch | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/target/linux/brcm63xx/patches-3.18/339-MIPS-BCM63XX-add-support-for-BCM63268.patch b/target/linux/brcm63xx/patches-3.18/339-MIPS-BCM63XX-add-support-for-BCM63268.patch index 22ceeea..1f8a37a 100644 --- a/target/linux/brcm63xx/patches-3.18/339-MIPS-BCM63XX-add-support-for-BCM63268.patch +++ b/target/linux/brcm63xx/patches-3.18/339-MIPS-BCM63XX-add-support-for-BCM63268.patch @@ -714,15 +714,11 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> return -ENODEV; ret = register_shared(); -@@ -295,8 +297,11 @@ bcm63xx_enetsw_register(const struct bcm - - if (BCMCPU_IS_6328()) +@@ -297,6 +299,8 @@ bcm63xx_enetsw_register(const struct bcm enetsw_pd.num_ports = ENETSW_PORTS_6328; -- else if (BCMCPU_IS_6362() || BCMCPU_IS_6368()) -+ else if (BCMCPU_IS_6362() || BCMCPU_IS_6368() || -+ BCMCPU_VARIANT_IS_63168() || BCMCPU_VARIANT_IS_63169()) + else if (BCMCPU_IS_6362() || BCMCPU_IS_6368()) enetsw_pd.num_ports = ENETSW_PORTS_6368; -+ else if (BCMCPU_VARIANT_IS_63268() || BCMCPU_VARIANT_IS_63269()) ++ else if (BCMCPU_IS_63268()) + enetsw_pd.num_ports = ENETSW_PORTS_63268; enetsw_pd.dma_has_sram = true; |