aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/bhnd/Makefile
blob: 9c99afd6eaa277a79762572fded1e223b13309a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# $FreeBSD$

.PATH: ${.CURDIR}/../../dev/bhnd
.PATH: ${.CURDIR}/../../dev/bhnd/cores/chipc
.PATH: ${.CURDIR}/../../dev/bhnd/cores/chipc/pwrctl
.PATH: ${.CURDIR}/../../dev/bhnd/cores/pmu
.PATH: ${.CURDIR}/../../dev/bhnd/nvram

KMOD=	bhnd
SRCS=	bhnd.c bhnd_subr.c
SRCS+=	bhnd_bus_if.c bhnd_bus_if.h

SRCS+=	bhnd_erom.c
SRCS+=	bhnd_erom_if.c bhnd_erom_if.h

# ChipCommon
SRCS+=	chipc.c chipc_subr.c
SRCS+=	bhnd_sprom_chipc.c \
	bhnd_pmu_chipc.c \
	bhnd_pwrctl.c bhnd_pwrctl_subr.c
SRCS+=	bhnd_chipc_if.c bhnd_chipc_if.h

# PMU
SRCS+=	bhnd_pmu.c \
	bhnd_pmu_core.c \
	bhnd_pmu_subr.c
SRCS+=	bhnd_pmu_if.c bhnd_pmu_if.h

# NVRAM/SPROM
SRCS+=	bhnd_nvram.c \
	bhnd_nvram_parser.c \
	bhnd_sprom.c \
	bhnd_sprom_parser.c
SRCS+=	bhnd_nvram_common.c
SRCS+=	bhnd_nvram_map.h bhnd_nvram_map_data.h
SRCS+=	bhnd_nvram_if.c bhnd_nvram_if.h

SRCS+=	device_if.h bus_if.h

SUBDIR=	bcma \
	bcma_bhndb \
	bhndb \
	bhndb_pci \
	cores \
	siba \
	siba_bhndb

.include <bsd.kmod.mk>
.include <bsd.subdir.mk>