summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2010-04-06 23:14:43 +0000
committerthompsa <thompsa@FreeBSD.org>2010-04-06 23:14:43 +0000
commit21bcf3828e198d7703a323f7b2eb17562938a9e5 (patch)
tree379d2e61e7cfdc4d6520abf93a4231262a318fb5 /sys/modules
parentcd725da6e94b75152954f72050b78fe3399ac441 (diff)
downloadFreeBSD-src-21bcf3828e198d7703a323f7b2eb17562938a9e5.zip
FreeBSD-src-21bcf3828e198d7703a323f7b2eb17562938a9e5.tar.gz
MFC r203134
Add run(4), a driver for Ralink RT2700U/RT2800U/RT3000U USB 802.11agn devices. This driver was written for OpenBSD by Damien Bergamini and ported over by Akinori Furukoshi.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile1
-rw-r--r--sys/modules/runfw/Makefile8
-rw-r--r--sys/modules/usb/Makefile2
-rw-r--r--sys/modules/usb/run/Makefile36
4 files changed, 46 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index cad745d..aebdcea 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -238,6 +238,7 @@ SUBDIR= ${_3dfx} \
re \
reiserfs \
rl \
+ runfw \
${_s3} \
${_safe} \
${_sbni} \
diff --git a/sys/modules/runfw/Makefile b/sys/modules/runfw/Makefile
new file mode 100644
index 0000000..ded0408
--- /dev/null
+++ b/sys/modules/runfw/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../contrib/dev/run
+
+KMOD= runfw
+FIRMWS= run-rt2870:runfw:1
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/usb/Makefile b/sys/modules/usb/Makefile
index 09ad669..7f43e2b 100644
--- a/sys/modules/usb/Makefile
+++ b/sys/modules/usb/Makefile
@@ -27,7 +27,7 @@
SUBDIR = usb
SUBDIR += ehci musb ohci uhci uss820dci ${_at91dci} ${_atmegadci}
-SUBDIR += rum uath upgt ural zyd ${_urtw}
+SUBDIR += rum run uath upgt ural zyd ${_urtw}
SUBDIR += atp uhid ukbd ums udbp ufm
SUBDIR += ucom u3g uark ubsa ubser uchcom ucycom ufoma uftdi ugensa uipaq ulpt \
umct umodem umoscom uplcom uslcom uvisor uvscom
diff --git a/sys/modules/usb/run/Makefile b/sys/modules/usb/run/Makefile
new file mode 100644
index 0000000..5acada4
--- /dev/null
+++ b/sys/modules/usb/run/Makefile
@@ -0,0 +1,36 @@
+#
+# $FreeBSD$
+#
+# Copyright (c) 2010 Hans Petter Selasky. All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+# SUCH DAMAGE.
+#
+
+S= ${.CURDIR}/../../..
+
+.PATH: $S/dev/usb/wlan
+
+KMOD= if_run
+SRCS= opt_bus.h opt_usb.h device_if.h bus_if.h usb_if.h usbdevs.h \
+ if_run.c
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud