summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2013-07-30 02:07:57 +0000
committerrpaulo <rpaulo@FreeBSD.org>2013-07-30 02:07:57 +0000
commit56bac42471ec8b35638e305a9569e75b7c2e35a0 (patch)
treee123d09def599791e57f6ef25705a6c7f7401469 /sys/modules
parentc50543b7ed7bbb06b2131c7ef4a809102c170cb7 (diff)
downloadFreeBSD-src-56bac42471ec8b35638e305a9569e75b7c2e35a0.zip
FreeBSD-src-56bac42471ec8b35638e305a9569e75b7c2e35a0.tar.gz
Import OpenBSD's rsu(4) WLAN driver.
Support chipsets are the Realtek RTL8188SU, RTL8191SU, and RTL8192SU. Many thanks to Idwer Vollering for porting/writing the man page and for testing. Reviewed by: adrian, hselasky Obtained from: OpenBSD Tested by: kevlo, Idwer Vollering <vidwer at gmail.com>
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/usb/Makefile3
-rw-r--r--sys/modules/usb/rsu/Makefile10
2 files changed, 12 insertions, 1 deletions
diff --git a/sys/modules/usb/Makefile b/sys/modules/usb/Makefile
index aef9acd..8ec4107 100644
--- a/sys/modules/usb/Makefile
+++ b/sys/modules/usb/Makefile
@@ -31,7 +31,8 @@
# MK_SOURCELESS_UCODE option (see below).
SUBDIR = usb
-SUBDIR += ${_dwc_otg} ehci ${_musb} ohci uhci xhci ${_uss820dci} ${_at91dci} ${_atmegadci} ${_avr32dci}
+SUBDIR += ${_dwc_otg} ehci ${_musb} ohci uhci xhci ${_uss820dci} ${_at91dci} \
+ ${_atmegadci} ${_avr32dci} rsu rsufw
SUBDIR += ${_rum} run ${_uath} upgt usie ural ${_zyd} ${_urtw} urtwn urtwnfw
SUBDIR += atp uhid ukbd ums udbp ufm uep
SUBDIR += ucom u3g uark ubsa ubser uchcom ucycom ufoma uftdi ugensa uipaq ulpt \
diff --git a/sys/modules/usb/rsu/Makefile b/sys/modules/usb/rsu/Makefile
new file mode 100644
index 0000000..482071c
--- /dev/null
+++ b/sys/modules/usb/rsu/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../dev/usb/wlan
+
+KMOD = if_rsu
+SRCS = if_rsu.c if_rsureg.h \
+ bus_if.h device_if.h \
+ opt_bus.h opt_usb.h usb_if.h usbdevs.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud