diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-02-10 13:16:50 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-02-10 13:16:50 +0000 |
commit | 9c60e5677b58d3e522a3b68ab6af3f934b323f7d (patch) | |
tree | 06a37051ac9de99c6dd6f22b550f8b2ea3f13bbb /package/madwifi/patches | |
parent | 97243cdfbe2539bbf92d81d37ab4d32616d2ba30 (diff) | |
download | master-31e0f0ae-9c60e5677b58d3e522a3b68ab6af3f934b323f7d.tar.gz master-31e0f0ae-9c60e5677b58d3e522a3b68ab6af3f934b323f7d.tar.bz2 master-31e0f0ae-9c60e5677b58d3e522a3b68ab6af3f934b323f7d.zip |
package/madwifi: apply AR71XX PCI workaround on ATH79 as well
SVN-Revision: 30414
Diffstat (limited to 'package/madwifi/patches')
-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 |
2 files changed, 2 insertions, 2 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); 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 2bcd09d863..0c35050c51 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)) { |