aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.8/419-MIPS-BCM63XX-enable-enet-for-BCM6345.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-05-01 21:52:25 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-05-01 21:52:25 +0000
commitdb02b0e4eeeec8cb707298bdea3422e90bd39dd6 (patch)
treef1e81d6b2cb892d6eb1f67bea205ece1a833065f /target/linux/brcm63xx/patches-3.8/419-MIPS-BCM63XX-enable-enet-for-BCM6345.patch
parent292368409e970617737b64c9ef49bc46f40b53e5 (diff)
downloadupstream-db02b0e4eeeec8cb707298bdea3422e90bd39dd6.tar.gz
upstream-db02b0e4eeeec8cb707298bdea3422e90bd39dd6.tar.bz2
upstream-db02b0e4eeeec8cb707298bdea3422e90bd39dd6.zip
brcm63xx: fix typo and missing BCM6328 check in BCM6345 ethernet patch
And while at it, also include a define check for BCM6328, thanks to Gabor for spotting this. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36506
Diffstat (limited to 'target/linux/brcm63xx/patches-3.8/419-MIPS-BCM63XX-enable-enet-for-BCM6345.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.8/419-MIPS-BCM63XX-enable-enet-for-BCM6345.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/patches-3.8/419-MIPS-BCM63XX-enable-enet-for-BCM6345.patch b/target/linux/brcm63xx/patches-3.8/419-MIPS-BCM63XX-enable-enet-for-BCM6345.patch
index 3a4abb075d..e7474943fe 100644
--- a/target/linux/brcm63xx/patches-3.8/419-MIPS-BCM63XX-enable-enet-for-BCM6345.patch
+++ b/target/linux/brcm63xx/patches-3.8/419-MIPS-BCM63XX-enable-enet-for-BCM6345.patch
@@ -189,7 +189,7 @@ Subject: [PATCH 69/72] 443-MIPS-BCM63XX-enable-enet-for-BCM6345.patch
};
int __init bcm63xx_enet_register(int unit,
-@@ -70,4 +96,67 @@ int __init bcm63xx_enet_register(int uni
+@@ -70,4 +96,69 @@ int __init bcm63xx_enet_register(int uni
int bcm63xx_enetsw_register(const struct bcm63xx_enetsw_platform_data *pd);
@@ -231,7 +231,9 @@ Subject: [PATCH 69/72] 443-MIPS-BCM63XX-enable-enet-for-BCM6345.patch
+ return ENETDMA_6345_LEN_REG;
+ }
+#endif
-+#if defined(CONFIG_BCM6XX_CPU_6338) || defined(CONFIG_BCM63XX_CPU_6348) || \
++#if defined(CONFIG_BCM63XX_CPU_6328) || \
++ defined(CONFIG_BCM63XX_CPU_6338) ||
++ defined(CONFIG_BCM63XX_CPU_6348) || \
+ defined(CONFIG_BCM63XX_CPU_6358) || \
+ defined(CONFIG_BCM63XX_CPU_6362) || \
+ defined(CONFIG_BCM63XX_CPU_6368)