brcm63xx: add missing binary operands to BCM6345 ethernet patch

Thanks to Emilio Arias for reporting it.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36505
lede-17.01
Florian Fainelli 2013-05-01 21:12:40 +00:00
parent 6f48ccea02
commit 292368409e
1 changed files with 4 additions and 3 deletions

View File

@ -189,7 +189,7 @@ Subject: [PATCH 69/72] 443-MIPS-BCM63XX-enable-enet-for-BCM6345.patch
}; };
int __init bcm63xx_enet_register(int unit, int __init bcm63xx_enet_register(int unit,
@@ -70,4 +96,66 @@ int __init bcm63xx_enet_register(int uni @@ -70,4 +96,67 @@ int __init bcm63xx_enet_register(int uni
int bcm63xx_enetsw_register(const struct bcm63xx_enetsw_platform_data *pd); int bcm63xx_enetsw_register(const struct bcm63xx_enetsw_platform_data *pd);
@ -231,8 +231,9 @@ Subject: [PATCH 69/72] 443-MIPS-BCM63XX-enable-enet-for-BCM6345.patch
+ return ENETDMA_6345_LEN_REG; + return ENETDMA_6345_LEN_REG;
+ } + }
+#endif +#endif
+#if defined(CONFIG_BCM6XX_CPU_6338) || defined(CONFIG_BCM63XX_CPU_6348) \ +#if defined(CONFIG_BCM6XX_CPU_6338) || defined(CONFIG_BCM63XX_CPU_6348) || \
+ defined(CONFIG_BCM63XX_CPU_6358) || defined(CONFIG_BCM63XX_CPU_6362) \ + defined(CONFIG_BCM63XX_CPU_6358) || \
+ defined(CONFIG_BCM63XX_CPU_6362) || \
+ defined(CONFIG_BCM63XX_CPU_6368) + defined(CONFIG_BCM63XX_CPU_6368)
+ switch (reg) { + switch (reg) {
+ case ENETDMAC_CHANCFG: + case ENETDMAC_CHANCFG: