xref: /freebsd/sys/modules/bwn/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1193d9e76SEnji Cooper.PATH: ${SRCTOP}/sys/dev/bwn
245d9abdbSWeongyo Jeong
345d9abdbSWeongyo JeongKMOD=	if_bwn
445d9abdbSWeongyo JeongSRCS=	if_bwn.c if_bwnreg.h if_bwnvar.h
5*d177c199SLandon J. FullerSRCS+=	if_bwn_pci.c
6c41639c2SAdrian ChaddSRCS+=	if_bwn_util.c
7c41639c2SAdrian Chadd
8c41639c2SAdrian Chadd# PHY
9c41639c2SAdrian ChaddSRCS+=	if_bwn_phy_common.c
10d546e47aSAdrian ChaddSRCS+=	if_bwn_phy_g.c if_bwn_phy_lp.c
1152562029SAdrian ChaddSRCS+=	if_bwn_phy_n.c
12c41639c2SAdrian Chadd
138d14ca9cSLandon J. Fuller# BHND
148d14ca9cSLandon J. FullerSRCS+=	bhnd_bus_if.h \
158d14ca9cSLandon J. Fuller	bhnd_chipc_if.h \
168d14ca9cSLandon J. Fuller	bhnd_pmu_if.h \
178d14ca9cSLandon J. Fuller	bhnd_pwrctl_if.h
188d14ca9cSLandon J. FullerSRCS+=	bhnd_nvram_map.h
198d14ca9cSLandon J. Fuller
20*d177c199SLandon J. Fuller# BHNDB
21*d177c199SLandon J. FullerSRCS+=	bhndb_bus_if.h \
22*d177c199SLandon J. Fuller	bhndb_if.h
23*d177c199SLandon J. Fuller
24c41639c2SAdrian Chadd# Other
258d14ca9cSLandon J. FullerSRCS+=	device_if.h bus_if.h gpio_if.h pci_if.h opt_bwn.h opt_wlan.h
2645d9abdbSWeongyo Jeong
27852dd45eSWarner Losh# The following need the BWN_GPL_PHY kenrel option to opt-in
28852dd45eSWarner Losh# to the GPL'd 802.11n PHY support for this driver.
29193d9e76SEnji Cooper.PATH: ${SRCTOP}/sys/gnu/dev/bwn/phy_n
30852dd45eSWarner LoshSRCS.BWN_GPL_PHY+=  if_bwn_radio_2055.c
31852dd45eSWarner LoshSRCS.BWN_GPL_PHY+=  if_bwn_radio_2056.c
32852dd45eSWarner LoshSRCS.BWN_GPL_PHY+=  if_bwn_radio_2057.c
33*d177c199SLandon J. FullerSRCS.BWN_GPL_PHY+=  if_bwn_phy_n_sprom.c
34852dd45eSWarner LoshSRCS.BWN_GPL_PHY+=  if_bwn_phy_n_tables.c
35852dd45eSWarner LoshSRCS.BWN_GPL_PHY+=  if_bwn_phy_n_ppr.c
36852dd45eSWarner LoshSRCS.BWN_GPL_PHY+=  if_bwn_phy_n_core.c
3752562029SAdrian Chadd
3845d9abdbSWeongyo Jeong.include <bsd.kmod.mk>
39