xref: /freebsd-13.1/sys/modules/bwn/Makefile (revision e8a81142)
145d9abdbSWeongyo Jeong# $FreeBSD$
245d9abdbSWeongyo Jeong
3193d9e76SEnji Cooper.PATH: ${SRCTOP}/sys/dev/bwn
445d9abdbSWeongyo Jeong
545d9abdbSWeongyo JeongKMOD=	if_bwn
645d9abdbSWeongyo JeongSRCS=	if_bwn.c if_bwnreg.h if_bwnvar.h
7*d177c199SLandon J. FullerSRCS+=	if_bwn_pci.c
8c41639c2SAdrian ChaddSRCS+=	if_bwn_util.c
9c41639c2SAdrian Chadd
10c41639c2SAdrian Chadd# PHY
11c41639c2SAdrian ChaddSRCS+=	if_bwn_phy_common.c
12d546e47aSAdrian ChaddSRCS+=	if_bwn_phy_g.c if_bwn_phy_lp.c
1352562029SAdrian ChaddSRCS+=	if_bwn_phy_n.c
14c41639c2SAdrian Chadd
158d14ca9cSLandon J. Fuller# BHND
168d14ca9cSLandon J. FullerSRCS+=	bhnd_bus_if.h \
178d14ca9cSLandon J. Fuller	bhnd_chipc_if.h \
188d14ca9cSLandon J. Fuller	bhnd_pmu_if.h \
198d14ca9cSLandon J. Fuller	bhnd_pwrctl_if.h
208d14ca9cSLandon J. FullerSRCS+=	bhnd_nvram_map.h
218d14ca9cSLandon J. Fuller
22*d177c199SLandon J. Fuller# BHNDB
23*d177c199SLandon J. FullerSRCS+=	bhndb_bus_if.h \
24*d177c199SLandon J. Fuller	bhndb_if.h
25*d177c199SLandon J. Fuller
26c41639c2SAdrian Chadd# Other
278d14ca9cSLandon J. FullerSRCS+=	device_if.h bus_if.h gpio_if.h pci_if.h opt_bwn.h opt_wlan.h
2845d9abdbSWeongyo Jeong
29852dd45eSWarner Losh# The following need the BWN_GPL_PHY kenrel option to opt-in
30852dd45eSWarner Losh# to the GPL'd 802.11n PHY support for this driver.
31193d9e76SEnji Cooper.PATH: ${SRCTOP}/sys/gnu/dev/bwn/phy_n
32852dd45eSWarner LoshSRCS.BWN_GPL_PHY+=  if_bwn_radio_2055.c
33852dd45eSWarner LoshSRCS.BWN_GPL_PHY+=  if_bwn_radio_2056.c
34852dd45eSWarner LoshSRCS.BWN_GPL_PHY+=  if_bwn_radio_2057.c
35*d177c199SLandon J. FullerSRCS.BWN_GPL_PHY+=  if_bwn_phy_n_sprom.c
36852dd45eSWarner LoshSRCS.BWN_GPL_PHY+=  if_bwn_phy_n_tables.c
37852dd45eSWarner LoshSRCS.BWN_GPL_PHY+=  if_bwn_phy_n_ppr.c
38852dd45eSWarner LoshSRCS.BWN_GPL_PHY+=  if_bwn_phy_n_core.c
3952562029SAdrian Chadd
4045d9abdbSWeongyo Jeong.include <bsd.kmod.mk>
41