From 21bcf3828e198d7703a323f7b2eb17562938a9e5 Mon Sep 17 00:00:00 2001 From: thompsa Date: Tue, 6 Apr 2010 23:14:43 +0000 Subject: 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. --- sys/modules/Makefile | 1 + sys/modules/runfw/Makefile | 8 ++++++++ sys/modules/usb/Makefile | 2 +- sys/modules/usb/run/Makefile | 36 ++++++++++++++++++++++++++++++++++++ 4 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 sys/modules/runfw/Makefile create mode 100644 sys/modules/usb/run/Makefile (limited to 'sys/modules') 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 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 -- cgit v1.1