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:
Andriy Voskoboinyk 2018-03-10 23:16:24 +00:00
parent 2e0d057248
commit 63a55eab9b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330749
14 changed files with 27 additions and 11 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>