[urtwn] migrate urtwn out into sys/dev/urtwn/ .

There's some upcoming work to add new chipset support here and I'd
like to only add 802.11n support to one driver, instead of both
urtwn and rtwn.

There's also missing support for things like 802.11n, some powersave
work, bluetooth integration/coexistence, etc, and also newer parts
(like 8192EU, maybe some 11ac parts, not sure yet.)

So, this is hopefully the first step in a longer set of steps to unify
rtwn/urtwn and extend it with more interesting chipset and functionality
support.

Reviewed by:	kevlo
This commit is contained in:
Adrian Chadd 2016-03-20 03:54:57 +00:00
parent 046c3cda83
commit 0c91dc1d08
11 changed files with 7 additions and 6 deletions

View File

@ -78,8 +78,8 @@ __FBSDID("$FreeBSD$");
#include <dev/usb/usb_debug.h>
#include <dev/usb/wlan/if_urtwnreg.h>
#include <dev/usb/wlan/if_urtwnvar.h>
#include <dev/urtwn/if_urtwnreg.h>
#include <dev/urtwn/if_urtwnvar.h>
#ifdef USB_DEBUG
enum {

View File

@ -367,6 +367,8 @@ SUBDIR= \
udf_iconv \
ufs \
unionfs \
urtwn \
${_urtwnfw} \
usb \
utopia \
${_vesa} \
@ -484,6 +486,7 @@ _ispfw= ispfw
_mwlfw= mwlfw
_ralfw= ralfw
_rtwnfw= rtwnfw
_urtwnfw= urtwnfw
_sf= sf
_ti= ti
_txp= txp

View File

@ -1,6 +1,6 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../../dev/usb/wlan
.PATH: ${.CURDIR}/../../dev/urtwn
.include <src.opts.mk>

View File

@ -11,5 +11,5 @@ FIRMWS= ${_FIRM}:${KMOD}:111
# FIRMWARE_LICENSE= realtek
${_FIRM}: ${.CURDIR}/../../../../contrib/dev/urtwn/${_FIRM}.uu
${_FIRM}: ${.CURDIR}/../../../contrib/dev/urtwn/${_FIRM}.uu
uudecode -p $? > ${.TARGET}

View File

@ -47,7 +47,6 @@ SUBDIR = usb
SUBDIR += ${_dwc_otg} ehci ${_musb} ohci uhci xhci ${_uss820dci} ${_at91dci} \
${_atmegadci} ${_avr32dci} ${_rsu} ${_rsufw} ${_saf1761otg}
SUBDIR += ${_rum} ${_run} ${_runfw} ${_uath} upgt usie ural ${_zyd} ${_urtw}
SUBDIR += urtwn ${_urtwnfw}
SUBDIR += atp uhid ukbd ums udbp ufm uep wsp ugold uled
SUBDIR += ucom u3g uark ubsa ubser uchcom ucycom ufoma uftdi ugensa uipaq ulpt \
umct umcs umodem umoscom uplcom uslcom uvisor uvscom
@ -70,7 +69,6 @@ _rum= rum
_uath= uath
_zyd= zyd
_kue= kue
_urtwnfw= urtwnfw
_run= run
_runfw= runfw
_rsu= rsu