diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-02-10 13:16:50 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-02-10 13:16:50 +0000 |
commit | 9543368113a95ed81ea28f99ede62172c97b7b3b (patch) | |
tree | b8f3de63368dad48fb364816ec1261b16499af08 /package | |
parent | 1cd9080da8757fb75a166d10b8eb49d59418ad76 (diff) |
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
Diffstat (limited to 'package')
-rw-r--r-- | package/madwifi/Makefile | 2 | ||||
-rw-r--r-- | package/madwifi/patches/400-new_hal.patch | 2 | ||||
-rw-r--r-- | package/madwifi/patches/470-mac_addresss_from_ath5k_platform_data.patch | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile index a4bcbf70d..5205f9465 100644 --- a/package/madwifi/Makefile +++ b/package/madwifi/Makefile @@ -12,7 +12,7 @@ PKG_NAME:=madwifi PKG_REV:=3314 PKG_VERSION:=r$(PKG_REV) -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_SOURCE_PROTO:=svn PKG_SOURCE_VERSION:=$(PKG_REV) diff --git a/package/madwifi/patches/400-new_hal.patch b/package/madwifi/patches/400-new_hal.patch index 3989b0fb4..12a59687b 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); diff --git a/package/madwifi/patches/470-mac_addresss_from_ath5k_platform_data.patch b/package/madwifi/patches/470-mac_addresss_from_ath5k_platform_data.patch index 2bcd09d86..0c35050c5 100644 --- a/package/madwifi/patches/470-mac_addresss_from_ath5k_platform_data.patch +++ b/package/madwifi/patches/470-mac_addresss_from_ath5k_platform_data.patch @@ -32,5 +32,5 @@ + ath_hal_setmac(ah, pdata->macaddr); +#endif /* 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)) { |