usb/wlan/*: properly include "opt_wlan.h" into all drivers
Without it driver cannot be loaded when wlan(4) module is built with 'options IEEE80211_DEBUG_REFCNT'.
This commit is contained in:
parent
2e0d057248
commit
63a55eab9b
@ -27,6 +27,8 @@ __FBSDID("$FreeBSD$");
|
||||
* http://www.ralinktech.com.tw/
|
||||
*/
|
||||
|
||||
#include "opt_wlan.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/sockio.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
@ -25,6 +25,8 @@ __FBSDID("$FreeBSD$");
|
||||
* http://www.ralinktech.com/
|
||||
*/
|
||||
|
||||
#include "opt_wlan.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/sockio.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
@ -67,6 +67,9 @@ __FBSDID("$FreeBSD$");
|
||||
* for these devices does not work in this way and so does not work
|
||||
* with this driver.
|
||||
*/
|
||||
|
||||
#include "opt_wlan.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/sockio.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
@ -17,6 +17,8 @@
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "opt_wlan.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
|
@ -28,6 +28,8 @@ __FBSDID("$FreeBSD$");
|
||||
* http://www.ralinktech.com/
|
||||
*/
|
||||
|
||||
#include "opt_wlan.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/sockio.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
@ -16,6 +16,9 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "opt_wlan.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/sockio.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
@ -26,6 +26,8 @@ __FBSDID("$FreeBSD$");
|
||||
* ZyDAS ZD1211/ZD1211B USB WLAN driver.
|
||||
*/
|
||||
|
||||
#include "opt_wlan.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/sockio.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
@ -30,7 +30,7 @@ S= ${SRCTOP}/sys
|
||||
.PATH: $S/dev/usb/wlan
|
||||
|
||||
KMOD= if_rum
|
||||
SRCS= opt_bus.h opt_usb.h device_if.h bus_if.h usb_if.h usbdevs.h \
|
||||
if_rum.c
|
||||
SRCS= opt_bus.h opt_usb.h opt_wlan.h device_if.h bus_if.h usb_if.h \
|
||||
usbdevs.h if_rum.c
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
@ -30,7 +30,7 @@ S= ${SRCTOP}/sys
|
||||
.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
|
||||
SRCS= opt_bus.h opt_usb.h opt_wlan.h device_if.h bus_if.h usb_if.h \
|
||||
usbdevs.h if_run.c
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
@ -5,6 +5,6 @@
|
||||
KMOD = if_uath
|
||||
SRCS = if_uath.c if_uathvar.h if_uathreg.h \
|
||||
bus_if.h device_if.h \
|
||||
opt_bus.h opt_usb.h usb_if.h usbdevs.h
|
||||
opt_bus.h opt_usb.h opt_wlan.h usb_if.h usbdevs.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
@ -5,6 +5,6 @@
|
||||
KMOD = if_upgt
|
||||
SRCS = if_upgt.c if_upgtvar.h \
|
||||
bus_if.h device_if.h \
|
||||
opt_bus.h opt_usb.h usb_if.h usbdevs.h
|
||||
opt_bus.h opt_usb.h opt_wlan.h usb_if.h usbdevs.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
@ -30,7 +30,7 @@ S= ${SRCTOP}/sys
|
||||
.PATH: $S/dev/usb/wlan
|
||||
|
||||
KMOD= if_ural
|
||||
SRCS= opt_bus.h opt_usb.h device_if.h bus_if.h usb_if.h usbdevs.h \
|
||||
if_ural.c
|
||||
SRCS= opt_bus.h opt_usb.h opt_wlan.h device_if.h bus_if.h usb_if.h \
|
||||
usbdevs.h if_ural.c
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
@ -5,6 +5,6 @@
|
||||
KMOD = if_urtw
|
||||
SRCS = if_urtw.c if_urtwreg.h if_urtwvar.h \
|
||||
bus_if.h device_if.h \
|
||||
opt_bus.h opt_usb.h usb_if.h usbdevs.h
|
||||
opt_bus.h opt_usb.h opt_wlan.h usb_if.h usbdevs.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
@ -30,7 +30,7 @@ S= ${SRCTOP}/sys
|
||||
.PATH: $S/dev/usb/wlan
|
||||
|
||||
KMOD= if_zyd
|
||||
SRCS= opt_bus.h opt_usb.h device_if.h bus_if.h usb_if.h usbdevs.h \
|
||||
if_zyd.c if_zydreg.h if_zydfw.h
|
||||
SRCS= opt_bus.h opt_usb.h opt_wlan.h device_if.h bus_if.h usb_if.h \
|
||||
usbdevs.h if_zyd.c if_zydreg.h if_zydfw.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user