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