Add modules support for the bhnd code.
Submitted by: Landon Fuller <landonf@landonf.org> Obtained from: https://github.com/landonf/freebsd/compare/user/landonf/bcm4331-CURRENT
This commit is contained in:
parent
8e7c909559
commit
fd73394505
21
sys/modules/bhnd/Makefile
Normal file
21
sys/modules/bhnd/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../dev/bhnd
|
||||
|
||||
KMOD= bhnd
|
||||
SRCS= bhnd.c bhnd_subr.c \
|
||||
bhnd_bus_if.c bhnd_bus_if.h
|
||||
|
||||
SRCS+= device_if.h bus_if.h
|
||||
|
||||
SUBDIR= bcma \
|
||||
bcma_bhndb \
|
||||
bhndb \
|
||||
bhndb_pci \
|
||||
cores \
|
||||
nvram \
|
||||
siba \
|
||||
siba_bhndb
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
.include <bsd.subdir.mk>
|
10
sys/modules/bhnd/bcma/Makefile
Normal file
10
sys/modules/bhnd/bcma/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../../dev/bhnd/bcma
|
||||
|
||||
KMOD= bcma
|
||||
SRCS= bcma.c bcma_subr.c bcma_erom.c
|
||||
|
||||
SRCS+= device_if.h bus_if.h bhnd_bus_if.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
11
sys/modules/bhnd/bcma_bhndb/Makefile
Normal file
11
sys/modules/bhnd/bcma_bhndb/Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../../dev/bhnd/bcma
|
||||
|
||||
KMOD= bcma_bhndb
|
||||
SRCS= bcma_bhndb.c
|
||||
|
||||
SRCS+= bhnd_bus_if.h bhndb_if.h
|
||||
SRCS+= device_if.h bus_if.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
12
sys/modules/bhnd/bhndb/Makefile
Normal file
12
sys/modules/bhnd/bhndb/Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../../dev/bhnd/bhndb
|
||||
|
||||
KMOD= bhndb
|
||||
SRCS= bhndb.c bhndb_subr.c bhndb_hwdata.c \
|
||||
bhndb_bus_if.c bhndb_bus_if.h \
|
||||
bhndb_if.c bhndb_if.h
|
||||
|
||||
SRCS+= device_if.h bus_if.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
11
sys/modules/bhnd/bhndb_pci/Makefile
Normal file
11
sys/modules/bhnd/bhndb_pci/Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../../dev/bhnd/bhndb
|
||||
|
||||
KMOD= bhndb_pci
|
||||
SRCS= bhndb_pci.c bhndb_pci_hwdata.c
|
||||
SRCS+= bhnd_bus_if.h bhndb_bus_if.h bhndb_if.h
|
||||
|
||||
SRCS+= device_if.h bus_if.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
8
sys/modules/bhnd/cores/Makefile
Normal file
8
sys/modules/bhnd/cores/Makefile
Normal file
@ -0,0 +1,8 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SUBDIR= bhnd_chipc \
|
||||
bhnd_pci \
|
||||
bhnd_pci_hostb \
|
||||
bhnd_pcib
|
||||
|
||||
.include <bsd.subdir.mk>
|
10
sys/modules/bhnd/cores/bhnd_chipc/Makefile
Normal file
10
sys/modules/bhnd/cores/bhnd_chipc/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../../../dev/bhnd/cores/chipc
|
||||
|
||||
KMOD= bhnd_chipc
|
||||
SRCS= chipc.c \
|
||||
bhnd_chipc_if.c bhnd_chipc_if.h
|
||||
SRCS+= device_if.h bus_if.h bhnd_bus_if.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
11
sys/modules/bhnd/cores/bhnd_pci/Makefile
Normal file
11
sys/modules/bhnd/cores/bhnd_pci/Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../../../dev/bhnd/cores/pci
|
||||
|
||||
KMOD= bhnd_pci
|
||||
SRCS= bhnd_pci.c \
|
||||
mdio_pcie.c
|
||||
SRCS+= device_if.h bus_if.h bhnd_bus_if.h \
|
||||
mdio_if.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
9
sys/modules/bhnd/cores/bhnd_pci_hostb/Makefile
Normal file
9
sys/modules/bhnd/cores/bhnd_pci_hostb/Makefile
Normal file
@ -0,0 +1,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../../../dev/bhnd/cores/pci
|
||||
|
||||
KMOD= bhnd_pci_hostb
|
||||
SRCS= bhnd_pci_hostb.c
|
||||
SRCS+= device_if.h bus_if.h bhnd_bus_if.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
9
sys/modules/bhnd/cores/bhnd_pcib/Makefile
Normal file
9
sys/modules/bhnd/cores/bhnd_pcib/Makefile
Normal file
@ -0,0 +1,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../../../dev/bhnd/cores/pci
|
||||
|
||||
KMOD= bhnd_pcib
|
||||
SRCS= bhnd_pcib.c
|
||||
SRCS+= device_if.h bus_if.h bhnd_bus_if.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
10
sys/modules/bhnd/nvram/Makefile
Normal file
10
sys/modules/bhnd/nvram/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../../dev/bhnd/nvram
|
||||
|
||||
KMOD= bhnd_nvram
|
||||
SRCS= bhnd_nvram_if.c bhnd_nvram_if.h
|
||||
|
||||
SRCS+= device_if.h bus_if.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
10
sys/modules/bhnd/siba/Makefile
Normal file
10
sys/modules/bhnd/siba/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../../dev/bhnd/siba
|
||||
|
||||
KMOD= siba
|
||||
SRCS= siba.c siba_subr.c
|
||||
|
||||
SRCS+= device_if.h bus_if.h bhnd_bus_if.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
11
sys/modules/bhnd/siba_bhndb/Makefile
Normal file
11
sys/modules/bhnd/siba_bhndb/Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../../dev/bhnd/siba
|
||||
|
||||
KMOD= siba_bhndb
|
||||
SRCS= siba_bhndb.c
|
||||
|
||||
SRCS+= bhnd_bus_if.h bhndb_if.h
|
||||
SRCS+= device_if.h bus_if.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
Loading…
x
Reference in New Issue
Block a user