]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/bhnd/Makefile
ZFS: MFV 2.0-rc1-ga00c61
[FreeBSD/FreeBSD.git] / sys / modules / bhnd / Makefile
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
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
19 SRCS+=  chipc_gpio.c
20 SRCS+=  gpio_if.h ofw_bus_if.h
21 SRCS+=  opt_platform.h
22
23 SRCS+=  bhnd_sprom_chipc.c \
24         bhnd_pmu_chipc.c
25         
26 SRCS+=  bhnd_pwrctl.c \
27         bhnd_pwrctl_subr.c \
28         bhnd_pwrctl_if.c \
29         bhnd_pwrctl_if.h
30 SRCS+=  bhnd_pwrctl_hostb_if.c bhnd_pwrctl_hostb_if.h
31
32 SRCS+=  bhnd_chipc_if.c bhnd_chipc_if.h
33
34 # PMU
35 SRCS+=  bhnd_pmu.c \
36         bhnd_pmu_core.c \
37         bhnd_pmu_subr.c
38 SRCS+=  bhnd_pmu_if.c bhnd_pmu_if.h
39
40 # NVRAM/SPROM
41 SRCS+=  bhnd_nvram_data.c \
42         bhnd_nvram_data_bcm.c \
43         bhnd_nvram_data_bcmraw.c \
44         bhnd_nvram_data_btxt.c \
45         bhnd_nvram_data_sprom.c \
46         bhnd_nvram_data_sprom_subr.c \
47         bhnd_nvram_data_tlv.c \
48         bhnd_nvram_io.c \
49         bhnd_nvram_iobuf.c \
50         bhnd_nvram_ioptr.c \
51         bhnd_nvram_iores.c \
52         bhnd_nvram_plist.c \
53         bhnd_nvram_store.c \
54         bhnd_nvram_store_subr.c \
55         bhnd_nvram_subr.c \
56         bhnd_nvram_value.c \
57         bhnd_nvram_value_fmts.c \
58         bhnd_nvram_value_prf.c \
59         bhnd_nvram_value_subr.c \
60         bhnd_sprom.c
61 SRCS+=  bhnd_nvram_map.h bhnd_nvram_map_data.h
62 SRCS+=  bhnd_nvram_if.c bhnd_nvram_if.h
63
64 SRCS+=  device_if.h bus_if.h
65
66 SUBDIR= bcma \
67         bcma_bhndb \
68         bhndb \
69         bhndb_pci \
70         cores \
71         siba \
72         siba_bhndb
73
74 .include <bsd.kmod.mk>
75 .include <bsd.subdir.mk>