]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/bwn/Makefile
zfs: merge openzfs/zfs@804414aad
[FreeBSD/FreeBSD.git] / sys / modules / bwn / Makefile
1
2 .PATH: ${SRCTOP}/sys/dev/bwn
3
4 KMOD=   if_bwn
5 SRCS=   if_bwn.c if_bwnreg.h if_bwnvar.h
6 SRCS+=  if_bwn_pci.c
7 SRCS+=  if_bwn_util.c
8
9 # PHY
10 SRCS+=  if_bwn_phy_common.c
11 SRCS+=  if_bwn_phy_g.c if_bwn_phy_lp.c
12 SRCS+=  if_bwn_phy_n.c
13
14 # BHND
15 SRCS+=  bhnd_bus_if.h \
16         bhnd_chipc_if.h \
17         bhnd_pmu_if.h \
18         bhnd_pwrctl_if.h
19 SRCS+=  bhnd_nvram_map.h
20
21 # BHNDB
22 SRCS+=  bhndb_bus_if.h \
23         bhndb_if.h
24
25 # Other
26 SRCS+=  device_if.h bus_if.h gpio_if.h pci_if.h opt_bwn.h opt_wlan.h
27
28 # The following need the BWN_GPL_PHY kenrel option to opt-in
29 # to the GPL'd 802.11n PHY support for this driver.
30 .PATH: ${SRCTOP}/sys/gnu/dev/bwn/phy_n
31 SRCS.BWN_GPL_PHY+=  if_bwn_radio_2055.c
32 SRCS.BWN_GPL_PHY+=  if_bwn_radio_2056.c
33 SRCS.BWN_GPL_PHY+=  if_bwn_radio_2057.c
34 SRCS.BWN_GPL_PHY+=  if_bwn_phy_n_sprom.c
35 SRCS.BWN_GPL_PHY+=  if_bwn_phy_n_tables.c
36 SRCS.BWN_GPL_PHY+=  if_bwn_phy_n_ppr.c
37 SRCS.BWN_GPL_PHY+=  if_bwn_phy_n_core.c
38
39 .include <bsd.kmod.mk>