2010-02-16 01:44:14 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2017-03-04 10:10:17 +00:00
|
|
|
.PATH: ${SRCTOP}/sys/dev/bwn
|
2010-02-16 01:44:14 +00:00
|
|
|
|
|
|
|
KMOD= if_bwn
|
|
|
|
SRCS= if_bwn.c if_bwnreg.h if_bwnvar.h
|
2016-05-14 23:08:34 +00:00
|
|
|
SRCS+= if_bwn_util.c
|
|
|
|
|
|
|
|
# PHY
|
|
|
|
SRCS+= if_bwn_phy_common.c
|
2016-05-02 22:58:11 +00:00
|
|
|
SRCS+= if_bwn_phy_g.c if_bwn_phy_lp.c
|
2016-05-17 07:15:25 +00:00
|
|
|
SRCS+= if_bwn_phy_n.c
|
2016-05-14 23:08:34 +00:00
|
|
|
|
|
|
|
# Other
|
2016-06-08 20:01:10 +00:00
|
|
|
SRCS+= device_if.h bus_if.h pci_if.h opt_bwn.h opt_wlan.h
|
2010-02-16 01:44:14 +00:00
|
|
|
|
2016-10-11 22:32:12 +00:00
|
|
|
# The following need the BWN_GPL_PHY kenrel option to opt-in
|
|
|
|
# to the GPL'd 802.11n PHY support for this driver.
|
2017-03-04 10:10:17 +00:00
|
|
|
.PATH: ${SRCTOP}/sys/gnu/dev/bwn/phy_n
|
2016-10-11 22:32:12 +00:00
|
|
|
SRCS.BWN_GPL_PHY+= if_bwn_radio_2055.c
|
|
|
|
SRCS.BWN_GPL_PHY+= if_bwn_radio_2056.c
|
|
|
|
SRCS.BWN_GPL_PHY+= if_bwn_radio_2057.c
|
|
|
|
SRCS.BWN_GPL_PHY+= if_bwn_phy_n_tables.c
|
|
|
|
SRCS.BWN_GPL_PHY+= if_bwn_phy_n_ppr.c
|
|
|
|
SRCS.BWN_GPL_PHY+= if_bwn_phy_n_core.c
|
2016-05-17 07:15:25 +00:00
|
|
|
|
2010-02-16 01:44:14 +00:00
|
|
|
.include <bsd.kmod.mk>
|
2012-08-20 18:33:03 +00:00
|
|
|
|
2016-09-04 17:56:55 +00:00
|
|
|
# XXX Work around clang warnings, until maintainer approves fix.
|
2012-08-20 18:33:03 +00:00
|
|
|
CWARNFLAGS.if_bwn.c= ${NO_WSOMETIMES_UNINITIALIZED}
|
2016-09-04 17:56:55 +00:00
|
|
|
CWARNFLAGS.if_bwn_phy_g.c= ${NO_WSOMETIMES_UNINITIALIZED} ${NO_WCONSTANT_CONVERSION}
|
2016-05-02 22:58:11 +00:00
|
|
|
CWARNFLAGS.if_bwn_phy_lp.c= ${NO_WSOMETIMES_UNINITIALIZED}
|