diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-06-20 18:47:36 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2013-06-20 18:47:36 +0000 |
commit | 4ef56823e09065e292b7ab33b8eef8ac0d919e41 (patch) | |
tree | 0ae4aa5831866b59f5008c220127e9f3574305bb /target/linux/brcm63xx/patches-3.9/407-bcm63xx_enet-add-support-for-bcm6368-internal-ethern.patch | |
parent | 07757044bf158d7a7c25ae7e4273a3ac5e316587 (diff) | |
download | upstream-4ef56823e09065e292b7ab33b8eef8ac0d919e41.tar.gz upstream-4ef56823e09065e292b7ab33b8eef8ac0d919e41.tar.bz2 upstream-4ef56823e09065e292b7ab33b8eef8ac0d919e41.zip |
brcm63xx: reduce the number of Ethernet DMA channels from 16 to 8
We currently used 16 DMA Ethernet channels, but the hardware only
supports up to 8 (with 2 per enet and the remaining for USB slave).
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36979
Diffstat (limited to 'target/linux/brcm63xx/patches-3.9/407-bcm63xx_enet-add-support-for-bcm6368-internal-ethern.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.9/407-bcm63xx_enet-add-support-for-bcm6368-internal-ethern.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/patches-3.9/407-bcm63xx_enet-add-support-for-bcm6368-internal-ethern.patch b/target/linux/brcm63xx/patches-3.9/407-bcm63xx_enet-add-support-for-bcm6368-internal-ethern.patch index 313927cbb6..c2b612d445 100644 --- a/target/linux/brcm63xx/patches-3.9/407-bcm63xx_enet-add-support-for-bcm6368-internal-ethern.patch +++ b/target/linux/brcm63xx/patches-3.9/407-bcm63xx_enet-add-support-for-bcm6368-internal-ethern.patch @@ -74,7 +74,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> + if (BCMCPU_IS_6328() || BCMCPU_IS_6362() || BCMCPU_IS_6368()) + chan_count = 32; + else -+ chan_count = 16; ++ chan_count = 8; + + shared_res[1].start = bcm63xx_regset_address(RSET_ENETDMAC); + shared_res[1].end = shared_res[1].start; |