aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/bhnd
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/bhnd')
-rw-r--r--sys/modules/bhnd/Makefile75
-rw-r--r--sys/modules/bhnd/bcma/Makefile9
-rw-r--r--sys/modules/bhnd/bcma_bhndb/Makefile10
-rw-r--r--sys/modules/bhnd/bhndb/Makefile18
-rw-r--r--sys/modules/bhnd/bhndb_pci/Makefile13
-rw-r--r--sys/modules/bhnd/cores/Makefile5
-rw-r--r--sys/modules/bhnd/cores/bhnd_pci/Makefile8
-rw-r--r--sys/modules/bhnd/cores/bhnd_pci_hostb/Makefile9
-rw-r--r--sys/modules/bhnd/cores/bhnd_pcib/Makefile9
-rw-r--r--sys/modules/bhnd/siba/Makefile12
-rw-r--r--sys/modules/bhnd/siba_bhndb/Makefile10
11 files changed, 178 insertions, 0 deletions
diff --git a/sys/modules/bhnd/Makefile b/sys/modules/bhnd/Makefile
new file mode 100644
index 000000000000..f07379a2a047
--- /dev/null
+++ b/sys/modules/bhnd/Makefile
@@ -0,0 +1,75 @@
+.PATH: ${SRCTOP}/sys/dev/bhnd
+.PATH: ${SRCTOP}/sys/dev/bhnd/cores/chipc
+.PATH: ${SRCTOP}/sys/dev/bhnd/cores/chipc/pwrctl
+.PATH: ${SRCTOP}/sys/dev/bhnd/cores/pmu
+.PATH: ${SRCTOP}/sys/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+= chipc_gpio.c
+SRCS+= gpio_if.h ofw_bus_if.h
+SRCS+= opt_platform.h
+
+SRCS+= bhnd_sprom_chipc.c \
+ bhnd_pmu_chipc.c
+
+SRCS+= bhnd_pwrctl.c \
+ bhnd_pwrctl_subr.c \
+ bhnd_pwrctl_if.c \
+ bhnd_pwrctl_if.h
+SRCS+= bhnd_pwrctl_hostb_if.c bhnd_pwrctl_hostb_if.h
+
+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_data.c \
+ bhnd_nvram_data_bcm.c \
+ bhnd_nvram_data_bcmraw.c \
+ bhnd_nvram_data_btxt.c \
+ bhnd_nvram_data_sprom.c \
+ bhnd_nvram_data_sprom_subr.c \
+ bhnd_nvram_data_tlv.c \
+ bhnd_nvram_io.c \
+ bhnd_nvram_iobuf.c \
+ bhnd_nvram_ioptr.c \
+ bhnd_nvram_iores.c \
+ bhnd_nvram_plist.c \
+ bhnd_nvram_store.c \
+ bhnd_nvram_store_subr.c \
+ bhnd_nvram_subr.c \
+ bhnd_nvram_value.c \
+ bhnd_nvram_value_fmts.c \
+ bhnd_nvram_value_prf.c \
+ bhnd_nvram_value_subr.c \
+ bhnd_sprom.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
+
+EXPORT_SYMS= YES
+
+.include <bsd.kmod.mk>
+.include <bsd.subdir.mk>
diff --git a/sys/modules/bhnd/bcma/Makefile b/sys/modules/bhnd/bcma/Makefile
new file mode 100644
index 000000000000..351424441e55
--- /dev/null
+++ b/sys/modules/bhnd/bcma/Makefile
@@ -0,0 +1,9 @@
+.PATH: ${SRCTOP}/sys/dev/bhnd/bcma
+
+KMOD= bcma
+SRCS= bcma.c bcma_subr.c bcma_erom.c
+
+SRCS+= device_if.h bus_if.h
+SRCS+= bhnd_bus_if.h bhnd_erom_if.h bhnd_pmu_if.h
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/bhnd/bcma_bhndb/Makefile b/sys/modules/bhnd/bcma_bhndb/Makefile
new file mode 100644
index 000000000000..19fd6a89a16b
--- /dev/null
+++ b/sys/modules/bhnd/bcma_bhndb/Makefile
@@ -0,0 +1,10 @@
+.PATH: ${SRCTOP}/sys/dev/bhnd/bcma
+
+KMOD= bcma_bhndb
+SRCS= bcma_bhndb.c
+
+SRCS+= bhnd_bus_if.h bhnd_erom_if.h
+SRCS+= bhndb_bus_if.h bhndb_if.h
+SRCS+= device_if.h bus_if.h
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/bhnd/bhndb/Makefile b/sys/modules/bhnd/bhndb/Makefile
new file mode 100644
index 000000000000..9a0d68519a98
--- /dev/null
+++ b/sys/modules/bhnd/bhndb/Makefile
@@ -0,0 +1,18 @@
+.PATH: ${SRCTOP}/sys/dev/bhnd/bhndb
+
+KMOD= bhndb
+SRCS= bhndb.c bhndb_subr.c bhndb_hwdata.c \
+ bhnd_bhndb.c \
+ bhndb_bus_if.c bhndb_bus_if.h \
+ bhndb_if.c bhndb_if.h
+SRCS+= bhnd_bus_if.h \
+ bhnd_chipc_if.h \
+ bhnd_erom_if.h \
+ bhnd_pwrctl_hostb_if.h \
+ bhnd_nvram_if.h
+
+SRCS+= device_if.h bus_if.h pci_if.h
+
+EXPORT_SYMS= YES
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/bhnd/bhndb_pci/Makefile b/sys/modules/bhnd/bhndb_pci/Makefile
new file mode 100644
index 000000000000..29fa7cd61cd7
--- /dev/null
+++ b/sys/modules/bhnd/bhndb_pci/Makefile
@@ -0,0 +1,13 @@
+.PATH: ${SRCTOP}/sys/dev/bhnd/bhndb
+
+KMOD= bhndb_pci
+SRCS= bhndb_pci.c bhndb_pci_hwdata.c \
+ bhndb_pci_sprom.c
+SRCS+= bhnd_bus_if.h bhndb_bus_if.h bhndb_if.h
+SRCS+= bhnd_erom_if.h
+SRCS+= bhnd_nvram_if.h
+SRCS+= bhnd_pwrctl_hostb_if.h
+
+SRCS+= device_if.h bus_if.h pci_if.h
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/bhnd/cores/Makefile b/sys/modules/bhnd/cores/Makefile
new file mode 100644
index 000000000000..ba7b711b3bc0
--- /dev/null
+++ b/sys/modules/bhnd/cores/Makefile
@@ -0,0 +1,5 @@
+SUBDIR= bhnd_pci \
+ bhnd_pci_hostb \
+ bhnd_pcib
+
+.include <bsd.subdir.mk>
diff --git a/sys/modules/bhnd/cores/bhnd_pci/Makefile b/sys/modules/bhnd/cores/bhnd_pci/Makefile
new file mode 100644
index 000000000000..962743c07671
--- /dev/null
+++ b/sys/modules/bhnd/cores/bhnd_pci/Makefile
@@ -0,0 +1,8 @@
+.PATH: ${SRCTOP}/sys/dev/bhnd/cores/pci
+.PATH: ${SRCTOP}/sys/dev/bhnd/cores/pcie2
+
+KMOD= bhnd_pci
+SRCS= bhnd_pci.c bhnd_pcie2.c
+SRCS+= device_if.h bus_if.h bhnd_bus_if.h
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/bhnd/cores/bhnd_pci_hostb/Makefile b/sys/modules/bhnd/cores/bhnd_pci_hostb/Makefile
new file mode 100644
index 000000000000..350ac6721c9b
--- /dev/null
+++ b/sys/modules/bhnd/cores/bhnd_pci_hostb/Makefile
@@ -0,0 +1,9 @@
+.PATH: ${SRCTOP}/sys/dev/bhnd/cores/pci
+.PATH: ${SRCTOP}/sys/dev/bhnd/cores/pcie2
+
+KMOD= bhnd_pci_hostb
+SRCS= bhnd_pci_hostb.c bhnd_pcie2_hostb.c
+SRCS+= device_if.h bus_if.h pci_if.h \
+ bhnd_bus_if.h bhnd_chipc_if.h
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/bhnd/cores/bhnd_pcib/Makefile b/sys/modules/bhnd/cores/bhnd_pcib/Makefile
new file mode 100644
index 000000000000..9c7f86eca22c
--- /dev/null
+++ b/sys/modules/bhnd/cores/bhnd_pcib/Makefile
@@ -0,0 +1,9 @@
+.PATH: ${SRCTOP}/sys/dev/bhnd/cores/pci
+.PATH: ${SRCTOP}/sys/dev/bhnd/cores/pcie2
+
+KMOD= bhnd_pcib
+SRCS= bhnd_pcib.c bhnd_pcie2b.c
+SRCS+= device_if.h bus_if.h pci_if.h \
+ bhnd_bus_if.h
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/bhnd/siba/Makefile b/sys/modules/bhnd/siba/Makefile
new file mode 100644
index 000000000000..aa933129a9f6
--- /dev/null
+++ b/sys/modules/bhnd/siba/Makefile
@@ -0,0 +1,12 @@
+.PATH: ${SRCTOP}/sys/dev/bhnd/siba
+
+KMOD= siba
+SRCS= siba.c siba_subr.c \
+ siba_erom.c
+
+SRCS+= device_if.h bus_if.h
+SRCS+= bhnd_bus_if.h bhnd_chipc_if.h \
+ bhnd_erom_if.h bhnd_pmu_if.h \
+ bhnd_pwrctl_if.h
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/bhnd/siba_bhndb/Makefile b/sys/modules/bhnd/siba_bhndb/Makefile
new file mode 100644
index 000000000000..eaaa62e49e42
--- /dev/null
+++ b/sys/modules/bhnd/siba_bhndb/Makefile
@@ -0,0 +1,10 @@
+.PATH: ${SRCTOP}/sys/dev/bhnd/siba
+
+KMOD= siba_bhndb
+SRCS= siba_bhndb.c
+
+SRCS+= bhnd_bus_if.h bhnd_erom_if.h
+SRCS+= bhndb_bus_if.h bhndb_if.h
+SRCS+= device_if.h bus_if.h
+
+.include <bsd.kmod.mk>