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