Mercurial > hg > zrouter
changeset 393:bb7dc44a1686
Enable Adrian's patch for ath EEPROM preload.
author | Aleksandr Rybalko <ray@ddteam.net> |
---|---|
date | Tue, 24 Apr 2012 23:36:00 +0300 |
parents | 67a61a0c4cdb |
children | ce99d43241b1 |
files | boards/D-Link/DIR-825/board.hints boards/D-Link/DIR-825/board.mk |
diffstat | 2 files changed, 16 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/boards/D-Link/DIR-825/board.hints Tue Apr 24 23:34:47 2012 +0300 +++ b/boards/D-Link/DIR-825/board.hints Tue Apr 24 23:36:00 2012 +0300 @@ -22,6 +22,18 @@ # location, because flash just aliased to upper segments hint.ath.0.eepromdata=0x1fff1000 +# ath0 - slot 17 +hint.pcib.0.bus.0.17.0.ath_fixup_addr=0x1fff1000 +hint.pcib.0.bus.0.17.0.ath_fixup_size=4096 +# ath1 - slot 18 +hint.pcib.0.bus.0.18.0.ath_fixup_addr=0x1fff5000 +hint.pcib.0.bus.0.18.0.ath_fixup_size=4096 +# .. and now, telling each ath(4) NIC where to find the firmware +# image. +hint.ath.0.eeprom_firmware="pcib.0.bus.0.17.0.eeprom_firmware" +hint.ath.1.eeprom_firmware="pcib.0.bus.0.18.0.eeprom_firmware" + + # (1 | (1<<1) | (1<<6) | (1<<7) | (1<<17) | (1<<13) | (1<<14) | (1<<15) | (1<<16) # 000011 11100000 11000011 # Output: 0,1,6,7,13,14,15,16,17
--- a/boards/D-Link/DIR-825/board.mk Tue Apr 24 23:34:47 2012 +0300 +++ b/boards/D-Link/DIR-825/board.mk Tue Apr 24 23:36:00 2012 +0300 @@ -57,6 +57,10 @@ KERNCONF_DEVICES+= wlan_ccmp KERNCONF_DEVICES+= wlan_tkip +KERNCONF_OPTIONS+= AR71XX_ATH_EEPROM +KERNCONF_OPTIONS+= ATH_EEPROM_FIRMWARE +KERNCONF_DEVICES+= firmware + KERNCONF_OPTIONS+= AH_DEBUG KERNCONF_OPTIONS+= ATH_DEBUG KERNCONF_OPTIONS+= ATH_DIAGAPI