summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bluetooth/ath3kfw/Makefile
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2016-06-07 04:22:18 +0000
committeradrian <adrian@FreeBSD.org>2016-06-07 04:22:18 +0000
commitbe6cf145bec7e3658cd25477592f21b906de159e (patch)
tree74fa8c22d229a55789ea9a5abaf36bba1b8c0b86 /usr.sbin/bluetooth/ath3kfw/Makefile
parent93e484e00e1e2dc498a7f4c45c0019e43b8ec5b2 (diff)
downloadFreeBSD-src-be6cf145bec7e3658cd25477592f21b906de159e.zip
FreeBSD-src-be6cf145bec7e3658cd25477592f21b906de159e.tar.gz
[ath3k] add a replacement ath3k firmware loading tool.
This is influenced by the ath3k driver from linux (circa 2013, this is how long I've been sitting on this.) It handles loading in firmware using the newer model, where it assembles the right set of firmware blobs and board configuration based on the device list and querying the device. The older utility could only load in a single image - which sometimes was ath3k-1.fw and sometimes was ath3k-2.fw. However, the ath3k maintainers didn't want to keep adding in binaries that were just derivatives with a separate board config, so they deleted ath3k-2.fw from the Linux firmware repository and instead, well, did this. Now, this has been tested against AR3011 and AR3012 NICs from the AR9285+BT combo up through to the QCA9565+BT combo. It doesn't yet work with the QCAFN222 NIC as that is some newer chip. The firmware can be grabbed from https://github.com/erikarn/ath3kfw/ in the share/firmware/ath3k directory. I'll update this utility over time to support the newer firmware drops (newer than mid-2013) which should pull in the QCNFA222 and subsequent chips. Tested: * AR9285 + BT * AR9287 + BT * AR9485 + BT * AR9462 + BT * QCA9565 + BT
Diffstat (limited to 'usr.sbin/bluetooth/ath3kfw/Makefile')
-rw-r--r--usr.sbin/bluetooth/ath3kfw/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bluetooth/ath3kfw/Makefile b/usr.sbin/bluetooth/ath3kfw/Makefile
index 26ce06e..61a6f9c 100644
--- a/usr.sbin/bluetooth/ath3kfw/Makefile
+++ b/usr.sbin/bluetooth/ath3kfw/Makefile
@@ -3,5 +3,6 @@
PROG= ath3kfw
MAN= ath3kfw.8
LIBADD+= usb
+SRCS= main.c ath3k_fw.c ath3k_hw.c
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud