xref: /freebsd-14.2/sys/modules/bwn/Makefile (revision 031beb4e)
145d9abdbSWeongyo Jeong
2193d9e76SEnji Cooper.PATH: ${SRCTOP}/sys/dev/bwn
345d9abdbSWeongyo Jeong
445d9abdbSWeongyo JeongKMOD=	if_bwn
545d9abdbSWeongyo JeongSRCS=	if_bwn.c if_bwnreg.h if_bwnvar.h
6*d177c199SLandon J. FullerSRCS+=	if_bwn_pci.c
7c41639c2SAdrian ChaddSRCS+=	if_bwn_util.c
8c41639c2SAdrian Chadd
9c41639c2SAdrian Chadd# PHY
10c41639c2SAdrian ChaddSRCS+=	if_bwn_phy_common.c
11d546e47aSAdrian ChaddSRCS+=	if_bwn_phy_g.c if_bwn_phy_lp.c
1252562029SAdrian ChaddSRCS+=	if_bwn_phy_n.c
13c41639c2SAdrian Chadd
148d14ca9cSLandon J. Fuller# BHND
158d14ca9cSLandon J. FullerSRCS+=	bhnd_bus_if.h \
168d14ca9cSLandon J. Fuller	bhnd_chipc_if.h \
178d14ca9cSLandon J. Fuller	bhnd_pmu_if.h \
188d14ca9cSLandon J. Fuller	bhnd_pwrctl_if.h
198d14ca9cSLandon J. FullerSRCS+=	bhnd_nvram_map.h
208d14ca9cSLandon J. Fuller
21*d177c199SLandon J. Fuller# BHNDB
22*d177c199SLandon J. FullerSRCS+=	bhndb_bus_if.h \
23*d177c199SLandon J. Fuller	bhndb_if.h
24*d177c199SLandon J. Fuller
25c41639c2SAdrian Chadd# Other
268d14ca9cSLandon J. FullerSRCS+=	device_if.h bus_if.h gpio_if.h pci_if.h opt_bwn.h opt_wlan.h
2745d9abdbSWeongyo Jeong
28852dd45eSWarner Losh# The following need the BWN_GPL_PHY kenrel option to opt-in
29852dd45eSWarner Losh# to the GPL'd 802.11n PHY support for this driver.
30193d9e76SEnji Cooper.PATH: ${SRCTOP}/sys/gnu/dev/bwn/phy_n
31852dd45eSWarner LoshSRCS.BWN_GPL_PHY+=  if_bwn_radio_2055.c
32852dd45eSWarner LoshSRCS.BWN_GPL_PHY+=  if_bwn_radio_2056.c
33852dd45eSWarner LoshSRCS.BWN_GPL_PHY+=  if_bwn_radio_2057.c
34*d177c199SLandon J. FullerSRCS.BWN_GPL_PHY+=  if_bwn_phy_n_sprom.c
35852dd45eSWarner LoshSRCS.BWN_GPL_PHY+=  if_bwn_phy_n_tables.c
36852dd45eSWarner LoshSRCS.BWN_GPL_PHY+=  if_bwn_phy_n_ppr.c
37852dd45eSWarner LoshSRCS.BWN_GPL_PHY+=  if_bwn_phy_n_core.c
3852562029SAdrian Chadd
3945d9abdbSWeongyo Jeong.include <bsd.kmod.mk>
40