diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-05-01 21:12:40 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2013-05-01 21:12:40 +0000 |
commit | 22008d7ac8a1f7a96a1d31e6203826ad60f55dd4 (patch) | |
tree | 55fe69a04a0763ad9a5f12b85f369b04ec798afd /target/linux/brcm63xx/patches-3.8/419-MIPS-BCM63XX-enable-enet-for-BCM6345.patch | |
parent | 5bb5c2727c4e65938d0b015114e2ffd9129a266c (diff) | |
download | master-187ad058-22008d7ac8a1f7a96a1d31e6203826ad60f55dd4.tar.gz master-187ad058-22008d7ac8a1f7a96a1d31e6203826ad60f55dd4.tar.bz2 master-187ad058-22008d7ac8a1f7a96a1d31e6203826ad60f55dd4.zip |
brcm63xx: add missing binary operands to BCM6345 ethernet patch
Thanks to Emilio Arias for reporting it.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36505 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch | 7 |
1 files changed, 4 insertions, 3 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 61b4d59833..3a4abb075d 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,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); @@ -231,8 +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) \ -+ defined(CONFIG_BCM63XX_CPU_6358) || defined(CONFIG_BCM63XX_CPU_6362) \ ++#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_6368) + switch (reg) { + case ENETDMAC_CHANCFG: |