summaryrefslogtreecommitdiff
path: root/sys/mips
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2017-07-23 07:10:41 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2017-07-23 07:10:41 +0000
commit56e91aa977801f0b0caf1f172f73b2affd283221 (patch)
tree01f6b63afab76b7824c17e3a99eb2a0c0f29e2f1 /sys/mips
parent1656a5b9918525b7b0354fe998ff85ce2d6de4ad (diff)
downloadsrc-test2-56e91aa977801f0b0caf1f172f73b2affd283221.tar.gz
src-test2-56e91aa977801f0b0caf1f172f73b2affd283221.zip
Notes
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/conf/CARAMBOLA2.hints14
-rw-r--r--sys/mips/conf/std.AR933X3
2 files changed, 13 insertions, 4 deletions
diff --git a/sys/mips/conf/CARAMBOLA2.hints b/sys/mips/conf/CARAMBOLA2.hints
index 34f4865b8b64..f1bb912c7816 100644
--- a/sys/mips/conf/CARAMBOLA2.hints
+++ b/sys/mips/conf/CARAMBOLA2.hints
@@ -31,10 +31,16 @@ hint.arge.1.media=1000
hint.arge.1.fduplex=1
hint.arge.1.eeprommac=0x1fff0006
-# Where the ART is - last 64k in the flash
-# 0x9fff1000 ?
-hint.ath.0.eepromaddr=0x1fff0000
-hint.ath.0.eepromsize=16384
+
+# ART calibration data mapping
+hint.ar71xx_caldata.0.at="nexus0"
+hint.ar71xx_caldata.0.order=0
+# Where the ART is - last 64k in the first 8MB of flash
+hint.ar71xx_caldata.0.map.0.ath_fixup_addr=0x1fff0000
+hint.ar71xx_caldata.0.map.0.ath_fixup_size=16384
+
+# And now tell the ath(4) driver where to look!
+hint.ath.0.eeprom_firmware="ar71xx_caldata.0.map.0.eeprom_firmware"
# The AP121 16MB flash layout:
#
diff --git a/sys/mips/conf/std.AR933X b/sys/mips/conf/std.AR933X
index d91c434f8c23..5bc3980bddd4 100644
--- a/sys/mips/conf/std.AR933X
+++ b/sys/mips/conf/std.AR933X
@@ -57,7 +57,10 @@ include "std.AR_MIPS_BASE"
makeoptions MODULES_OVERRIDE+="hwpmc_mips24k"
+# AR9330 support - everything shipping uses EEPROM for calibration data,
+# so always include this.
option AH_SUPPORT_AR9330 # Chipset support
+option ATH_EEPROM_FIRMWARE # Use EEPROM from flash
device usb
device ehci