[spigen] Add spigen module

spigen provides userland API to SPI bus. Make it available as a loadable
module so people using official ARM images can enabled it on devices like
BBB or RPi without re-building kernel

MFC after:	1 week
This commit is contained in:
Oleksandr Tymoshenko 2017-03-09 01:21:28 +00:00
parent 50868fa68b
commit 09285d1436
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314934
2 changed files with 9 additions and 0 deletions

View File

@ -346,6 +346,7 @@ SUBDIR= \
snp \
sound \
${_speaker} \
spigen \
${_splash} \
${_sppp} \
ste \

View File

@ -0,0 +1,8 @@
# $FreeBSD$
.PATH: ${SRCTOP}/sys/dev/spibus
KMOD= spigen
SRCS= spigen.c
SRCS+= device_if.h bus_if.h opt_platform.h spibus_if.h
.include <bsd.kmod.mk>