1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../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# Uncomment this for the GPL PHY code; this requires the 18# module be built with BWN_GPL_PHY set in the kernel 19# configuration. 20 21#.PATH: ${.CURDIR}/../../gnu/dev/bwn/phy_n 22#SRCS+= if_bwn_radio_2055.c 23#SRCS+= if_bwn_radio_2056.c 24#SRCS+= if_bwn_radio_2057.c 25#SRCS+= if_bwn_phy_n_tables.c 26#SRCS+= if_bwn_phy_n_ppr.c 27#SRCS+= if_bwn_phy_n_core.c 28 29.include <bsd.kmod.mk> 30 31# XXX Work around clang warnings, until maintainer approves fix. 32CWARNFLAGS.if_bwn.c= ${NO_WSOMETIMES_UNINITIALIZED} 33CWARNFLAGS.if_bwn_phy_g.c= ${NO_WSOMETIMES_UNINITIALIZED} ${NO_WCONSTANT_CONVERSION} 34CWARNFLAGS.if_bwn_phy_lp.c= ${NO_WSOMETIMES_UNINITIALIZED} 35