1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/sys/dev/bwn 4 5KMOD= if_bwn 6SRCS= if_bwn.c if_bwnreg.h if_bwnvar.h 7SRCS+= if_bwn_util.c 8 9# PHY 10SRCS+= if_bwn_phy_common.c 11SRCS+= if_bwn_phy_g.c if_bwn_phy_lp.c 12SRCS+= if_bwn_phy_n.c 13 14# Other 15SRCS+= device_if.h bus_if.h pci_if.h opt_bwn.h opt_wlan.h 16 17# The following need the BWN_GPL_PHY kenrel option to opt-in 18# to the GPL'd 802.11n PHY support for this driver. 19.PATH: ${SRCTOP}/sys/gnu/dev/bwn/phy_n 20SRCS.BWN_GPL_PHY+= if_bwn_radio_2055.c 21SRCS.BWN_GPL_PHY+= if_bwn_radio_2056.c 22SRCS.BWN_GPL_PHY+= if_bwn_radio_2057.c 23SRCS.BWN_GPL_PHY+= if_bwn_phy_n_tables.c 24SRCS.BWN_GPL_PHY+= if_bwn_phy_n_ppr.c 25SRCS.BWN_GPL_PHY+= if_bwn_phy_n_core.c 26 27.include <bsd.kmod.mk> 28 29# XXX Work around clang warnings, until maintainer approves fix. 30CWARNFLAGS.if_bwn.c= ${NO_WSOMETIMES_UNINITIALIZED} 31CWARNFLAGS.if_bwn_phy_g.c= ${NO_WSOMETIMES_UNINITIALIZED} ${NO_WCONSTANT_CONVERSION} 32CWARNFLAGS.if_bwn_phy_lp.c= ${NO_WSOMETIMES_UNINITIALIZED} 33