xref: /freebsd-14.2/sys/modules/bhnd/Makefile (revision 4e96bf3a)
1# $FreeBSD$
2
3.PATH: ${SRCTOP}/sys/dev/bhnd
4.PATH: ${SRCTOP}/sys/dev/bhnd/cores/chipc
5.PATH: ${SRCTOP}/sys/dev/bhnd/cores/chipc/pwrctl
6.PATH: ${SRCTOP}/sys/dev/bhnd/cores/pmu
7.PATH: ${SRCTOP}/sys/dev/bhnd/nvram
8
9KMOD=	bhnd
10SRCS=	bhnd.c bhnd_subr.c
11SRCS+=	bhnd_bus_if.c bhnd_bus_if.h
12
13SRCS+=	bhnd_erom.c
14SRCS+=	bhnd_erom_if.c bhnd_erom_if.h
15
16# ChipCommon
17SRCS+=	chipc.c chipc_subr.c
18SRCS+=	bhnd_sprom_chipc.c \
19	bhnd_pmu_chipc.c
20SRCS+=	bhnd_pwrctl.c bhnd_pwrctl_subr.c \
21	bhnd_pwrctl_if.c bhnd_pwrctl_if.h \
22	bhnd_pwrctl_hostb_if.c bhnd_pwrctl_hostb_if.h
23SRCS+=	bhnd_chipc_if.c bhnd_chipc_if.h
24
25# PMU
26SRCS+=	bhnd_pmu.c \
27	bhnd_pmu_core.c \
28	bhnd_pmu_subr.c
29SRCS+=	bhnd_pmu_if.c bhnd_pmu_if.h
30
31# NVRAM/SPROM
32SRCS+=	bhnd_nvram_data.c \
33	bhnd_nvram_data_bcm.c \
34	bhnd_nvram_data_bcmraw.c \
35	bhnd_nvram_data_btxt.c \
36	bhnd_nvram_data_sprom.c \
37	bhnd_nvram_data_sprom_subr.c \
38	bhnd_nvram_data_tlv.c \
39	bhnd_nvram_io.c \
40	bhnd_nvram_iobuf.c \
41	bhnd_nvram_ioptr.c \
42	bhnd_nvram_iores.c \
43	bhnd_nvram_plist.c \
44	bhnd_nvram_store.c \
45	bhnd_nvram_store_subr.c \
46	bhnd_nvram_subr.c \
47	bhnd_nvram_value.c \
48	bhnd_nvram_value_fmts.c \
49	bhnd_nvram_value_prf.c \
50	bhnd_nvram_value_subr.c \
51	bhnd_sprom.c
52SRCS+=	bhnd_nvram_map.h bhnd_nvram_map_data.h
53SRCS+=	bhnd_nvram_if.c bhnd_nvram_if.h
54
55SRCS+=	device_if.h bus_if.h
56
57SUBDIR=	bcma \
58	bcma_bhndb \
59	bhndb \
60	bhndb_pci \
61	cores \
62	siba \
63	siba_bhndb
64
65.include <bsd.kmod.mk>
66.include <bsd.subdir.mk>
67