mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-31 05:54:26 -04:00 
			
		
		
		
	package/madwifi: apply AR71XX PCI workaround on ATH79 as well
SVN-Revision: 30414
This commit is contained in:
		
							parent
							
								
									97243cdfbe
								
							
						
					
					
						commit
						9c60e5677b
					
				| @ -12,7 +12,7 @@ PKG_NAME:=madwifi | |||||||
| 
 | 
 | ||||||
| PKG_REV:=3314 | PKG_REV:=3314 | ||||||
| PKG_VERSION:=r$(PKG_REV) | PKG_VERSION:=r$(PKG_REV) | ||||||
| PKG_RELEASE:=5 | PKG_RELEASE:=6 | ||||||
| 
 | 
 | ||||||
| PKG_SOURCE_PROTO:=svn | PKG_SOURCE_PROTO:=svn | ||||||
| PKG_SOURCE_VERSION:=$(PKG_REV) | PKG_SOURCE_VERSION:=$(PKG_REV) | ||||||
|  | |||||||
| @ -5,7 +5,7 @@ | |||||||
|  	sc->sc_ah = ah; |  	sc->sc_ah = ah; | ||||||
|   |   | ||||||
| +	/* WAR for AR7100 PCI bug */
 | +	/* 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)) {
 | +	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_RX, 0, HAL_DMABURST_4B, NULL);
 | ||||||
| +		ath_hal_setcapability(ah, HAL_CAP_DMABURST_TX, 0, HAL_DMABURST_4B, NULL);
 | +		ath_hal_setcapability(ah, HAL_CAP_DMABURST_TX, 0, HAL_DMABURST_4B, NULL);
 | ||||||
|  | |||||||
| @ -32,5 +32,5 @@ | |||||||
| +		ath_hal_setmac(ah, pdata->macaddr);
 | +		ath_hal_setmac(ah, pdata->macaddr);
 | ||||||
| +#endif
 | +#endif
 | ||||||
|  	/* WAR for AR7100 PCI bug */ |  	/* 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)) { |  	if ((ar_device(sc->devid) >= 5210) && (ar_device(sc->devid) < 5416)) { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user