summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2013-06-08 16:02:31 +0000
committerrpaulo <rpaulo@FreeBSD.org>2013-06-08 16:02:31 +0000
commit8f36fe887a99fd6fe01305dac04d9a90a856d40a (patch)
tree43c6844c1ee3be1cfbce0283d7b2042e64145bcb /sys/modules
parenta1d0d1236720cbb9ff6a9548a27707ddd4dd1507 (diff)
downloadFreeBSD-src-8f36fe887a99fd6fe01305dac04d9a90a856d40a.zip
FreeBSD-src-8f36fe887a99fd6fe01305dac04d9a90a856d40a.tar.gz
Import Kevin Lo's port of urtwn(4) from OpenBSD. urtwn(4) is a driver for the
Realtek RTL8188CU/RTL8192CU USB IEEE 802.11b/g/n wireless cards. This driver requires microcode which is available in FreeBSD ports: net/urtwn-firmware-kmod. Hiren ported the urtwn(4) man page from OpenBSD and Glen just commited a port for the firmware. TODO: - 802.11n support - Stability fixes - the driver can sustain lots of traffic but has trouble coping with simultaneous iperf sessions. - fix debugging MFC after: 2 months Tested by: kevlo, hiren, gjb
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/usb/Makefile2
-rw-r--r--sys/modules/usb/urtwn/Makefile10
2 files changed, 11 insertions, 1 deletions
diff --git a/sys/modules/usb/Makefile b/sys/modules/usb/Makefile
index 6481838..29255e7 100644
--- a/sys/modules/usb/Makefile
+++ b/sys/modules/usb/Makefile
@@ -32,7 +32,7 @@
SUBDIR = usb
SUBDIR += ${_dwc_otg} ehci ${_musb} ohci uhci xhci ${_uss820dci} ${_at91dci} ${_atmegadci} ${_avr32dci}
-SUBDIR += ${_rum} run ${_uath} upgt usie ural ${_zyd} ${_urtw}
+SUBDIR += ${_rum} run ${_uath} upgt usie ural ${_zyd} ${_urtw} urtwn
SUBDIR += atp uhid ukbd ums udbp ufm uep
SUBDIR += ucom u3g uark ubsa ubser uchcom ucycom ufoma uftdi ugensa uipaq ulpt \
umct umcs umodem umoscom uplcom uslcom uvisor uvscom
diff --git a/sys/modules/usb/urtwn/Makefile b/sys/modules/usb/urtwn/Makefile
new file mode 100644
index 0000000..58c409a
--- /dev/null
+++ b/sys/modules/usb/urtwn/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../dev/usb/wlan
+
+KMOD = if_urtwn
+SRCS = if_urtwn.c if_urtwnreg.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