aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/bwi
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2009-05-03 04:01:43 +0000
committerWarner Losh <imp@FreeBSD.org>2009-05-03 04:01:43 +0000
commit12e36acb0995cce6d24054866e06f3e3cc694c8c (patch)
treec4ef4ebe2e07c1bdced223b9d40909f7caed9b50 /sys/modules/bwi
parent80c516a808881dc63c489df2dfaf9aaeb8e6e6bd (diff)
downloadsrc-12e36acb0995cce6d24054866e06f3e3cc694c8c.tar.gz
src-12e36acb0995cce6d24054866e06f3e3cc694c8c.zip
Bring in Andrew Thompson's port of Sepherosa Ziehau's bwi driver for
Broadcom BCM43xx chipsets. This driver uses the v3 firmware that needs to be fetched separately. A port will be committed to create the bwi firmware module. The driver matches the following chips: Broadcom BCM4301, BCM4307, BCM4306, BCM4309, BCM4311, BCM4312, BCM4318, BCM4319 The driver works for 802.11b and 802.11g. Limitations: This doesn't support the 802.11a or 802.11n portion of radios. Some BCM4306 and BCM4309 cards don't work with Channel 1, 2 or 3. Documenation for this firmware is reverse engineered from http://bcm.sipsolutions.net/ V4 of the firmware is needed for 11a or 11n support http://bcm-v4.sipsolutions.net/ Firmware needs to be fetched from a third party, port to be committed # I've tested this with a BCM4319 mini-pci and a BCM4318 CardBus card, and # not connected it to the build until the firmware port is committed. Obtained from: DragonFlyBSD, //depot/projects/vap Reviewed by: sam@, thompsa@
Notes
Notes: svn path=/head/; revision=191762
Diffstat (limited to 'sys/modules/bwi')
-rw-r--r--sys/modules/bwi/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/modules/bwi/Makefile b/sys/modules/bwi/Makefile
new file mode 100644
index 000000000000..cdd5c9037dd7
--- /dev/null
+++ b/sys/modules/bwi/Makefile
@@ -0,0 +1,14 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/bwi
+
+KMOD = if_bwi
+
+SRCS = if_bwi.c if_bwi_pci.c bwimac.c bwiphy.c bwirf.c
+SRCS += device_if.h bus_if.h pci_if.h opt_inet.h opt_bwi.h
+
+opt_bwi.h:
+ echo '#define BWI_DEBUG 1' > opt_bwi.h
+# echo '#define BWI_DEBUG_VERBOSE 1' >> opt_bwi.h
+
+.include <bsd.kmod.mk>