Author: gonzo
Date: Thu Mar  9 01:21:28 2017
New Revision: 314934
URL: https://svnweb.freebsd.org/changeset/base/314934

Log:
  [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

Added:
  head/sys/modules/spigen/
  head/sys/modules/spigen/Makefile   (contents, props changed)
Modified:
  head/sys/modules/Makefile

Modified: head/sys/modules/Makefile
==============================================================================
--- head/sys/modules/Makefile   Thu Mar  9 01:00:27 2017        (r314933)
+++ head/sys/modules/Makefile   Thu Mar  9 01:21:28 2017        (r314934)
@@ -346,6 +346,7 @@ SUBDIR=     \
        snp \
        sound \
        ${_speaker} \
+       spigen \
        ${_splash} \
        ${_sppp} \
        ste \

Added: head/sys/modules/spigen/Makefile
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/modules/spigen/Makefile    Thu Mar  9 01:21:28 2017        
(r314934)
@@ -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>
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to