summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2015-11-29 05:49:49 +0000
committeradrian <adrian@FreeBSD.org>2015-11-29 05:49:49 +0000
commit0a5b508e9304ba72715560dae8d742a07b3a41eb (patch)
tree0724399003fa7c06846d69350a9347120abc2600 /sys/mips
parentea21ce25447bbec1a8b682276d0375f7e18436d7 (diff)
downloadFreeBSD-src-0a5b508e9304ba72715560dae8d742a07b3a41eb.zip
FreeBSD-src-0a5b508e9304ba72715560dae8d742a07b3a41eb.tar.gz
Add support for the integrated wifi for the QCA953x base config and
AP143. Tested: * AP143 reference design board
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/conf/AP143.hints4
-rw-r--r--sys/mips/conf/QCA953X_BASE2
-rw-r--r--sys/mips/conf/QCA953X_BASE.hints4
3 files changed, 6 insertions, 4 deletions
diff --git a/sys/mips/conf/AP143.hints b/sys/mips/conf/AP143.hints
index eb95d00..ee609e5 100644
--- a/sys/mips/conf/AP143.hints
+++ b/sys/mips/conf/AP143.hints
@@ -24,6 +24,10 @@ hint.arge.1.phymask=0x0 # No directly mapped PHYs
hint.arge.1.media=1000
hint.arge.1.fduplex=1
+# ath0: Where the ART is - last 64k in the flash
+hint.ath.0.eepromaddr=0x1fff0000
+hint.ath.0.eepromsize=16384
+
# The AP121 4MB flash layout:
#
# bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs
diff --git a/sys/mips/conf/QCA953X_BASE b/sys/mips/conf/QCA953X_BASE
index ec2a464..3126f71 100644
--- a/sys/mips/conf/QCA953X_BASE
+++ b/sys/mips/conf/QCA953X_BASE
@@ -100,7 +100,7 @@ option AH_DEBUG_ALQ
device ath_ar9300 # AR9330 HAL; no need for the others
option AH_DEBUG
option AH_SUPPORT_AR5416 # 11n HAL support
-option AH_SUPPORT_AR9330 # Chipset support
+option AH_SUPPORT_QCA9530 # Chipset support
option AH_AR5416_INTERRUPT_MITIGATION
device mii
diff --git a/sys/mips/conf/QCA953X_BASE.hints b/sys/mips/conf/QCA953X_BASE.hints
index 4bbb083..164420e 100644
--- a/sys/mips/conf/QCA953X_BASE.hints
+++ b/sys/mips/conf/QCA953X_BASE.hints
@@ -50,9 +50,7 @@ hint.ath.0.maddr=0x18100000
hint.ath.0.msize=0x20000
hint.ath.0.irq=0
hint.ath.0.vendor_id=0x168c
-# XXX for now this is 0x00ff because there's no HAL support
-# yet for honeybee.
-hint.ath.0.device_id=0x00ff
+hint.ath.0.device_id=0x003d
# Set this to define where the ath calibration data
# should be fetched from in physical memory.
# hint.ath.0.eepromaddr=0x1fff1000
OpenPOWER on IntegriCloud