[Zrouter-src] ZRouter.org: push to ZRouter boards/D-Link/DIR-825/board.hints b...

zrouter-src at zrouter.org zrouter-src at zrouter.org
Tue Apr 24 20:38:44 UTC 2012


details:   http://zrouter.org/hg/zrouter//rev/bb7dc44a1686
changeset: 393:bb7dc44a1686
user:      Aleksandr Rybalko <ray at ddteam.net>
date:      Tue Apr 24 23:36:00 2012 +0300
description:
Enable Adrian's patch for ath EEPROM preload.

diffstat:

 boards/D-Link/DIR-825/board.hints |  12 ++++++++++++
 boards/D-Link/DIR-825/board.mk    |   4 ++++
 2 files changed, 16 insertions(+), 0 deletions(-)

diffs (36 lines):

diff -r 67a61a0c4cdb -r bb7dc44a1686 boards/D-Link/DIR-825/board.hints
--- 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
diff -r 67a61a0c4cdb -r bb7dc44a1686 boards/D-Link/DIR-825/board.mk
--- 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


More information about the Zrouter-src mailing list