1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

package/madwifi: apply AR71XX PCI workaround on ATH79 as well

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30414 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2012-02-10 13:16:50 +00:00
parent 1cd9080da8
commit 9543368113
3 changed files with 3 additions and 3 deletions

View File

@@ -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);