aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/400-new_hal.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-10 13:16:50 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-10 13:16:50 +0000
commit9c60e5677b58d3e522a3b68ab6af3f934b323f7d (patch)
tree06a37051ac9de99c6dd6f22b550f8b2ea3f13bbb /package/madwifi/patches/400-new_hal.patch
parent97243cdfbe2539bbf92d81d37ab4d32616d2ba30 (diff)
downloadupstream-9c60e5677b58d3e522a3b68ab6af3f934b323f7d.tar.gz
upstream-9c60e5677b58d3e522a3b68ab6af3f934b323f7d.tar.bz2
upstream-9c60e5677b58d3e522a3b68ab6af3f934b323f7d.zip
package/madwifi: apply AR71XX PCI workaround on ATH79 as well
SVN-Revision: 30414
Diffstat (limited to 'package/madwifi/patches/400-new_hal.patch')
-rw-r--r--package/madwifi/patches/400-new_hal.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/patches/400-new_hal.patch b/package/madwifi/patches/400-new_hal.patch
index 3989b0fb4d..12a59687be 100644
--- a/package/madwifi/patches/400-new_hal.patch
+++ b/package/madwifi/patches/400-new_hal.patch
@@ -5,7 +5,7 @@
sc->sc_ah = ah;
+ /* WAR for AR7100 PCI bug */
-+#ifdef CONFIG_ATHEROS_AR71XX
++#if defined(CONFIG_ATHEROS_AR71XX) || defined(CONFIG_ATH79)
+ if ((ar_device(sc->devid) >= 5210) && (ar_device(sc->devid) < 5416)) {
+ ath_hal_setcapability(ah, HAL_CAP_DMABURST_RX, 0, HAL_DMABURST_4B, NULL);
+ ath_hal_setcapability(ah, HAL_CAP_DMABURST_TX, 0, HAL_DMABURST_4B, NULL);