[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:
parent
50868fa68b
commit
09285d1436
@ -346,6 +346,7 @@ SUBDIR= \
|
||||
snp \
|
||||
sound \
|
||||
${_speaker} \
|
||||
spigen \
|
||||
${_splash} \
|
||||
${_sppp} \
|
||||
ste \
|
||||
|
8
sys/modules/spigen/Makefile
Normal file
8
sys/modules/spigen/Makefile
Normal 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>
|
Loading…
Reference in New Issue
Block a user