Date: Mon, 19 Feb 2018 01:32:27 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r329544 - in head/sys/modules: . spi spi/spibus Message-ID: <201802190132.w1J1WR82020118@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ian Date: Mon Feb 19 01:32:27 2018 New Revision: 329544 URL: https://svnweb.freebsd.org/changeset/base/329544 Log: Add modules/spi as a gathering point for SPI-related modules, analagous to modules/i2c for i2c/iicbus modules. Build spibus as a module. Added: head/sys/modules/spi/ head/sys/modules/spi/Makefile (contents, props changed) head/sys/modules/spi/spibus/ head/sys/modules/spi/spibus/Makefile (contents, props changed) Modified: head/sys/modules/Makefile Modified: head/sys/modules/Makefile ============================================================================== --- head/sys/modules/Makefile Mon Feb 19 01:25:52 2018 (r329543) +++ head/sys/modules/Makefile Mon Feb 19 01:32:27 2018 (r329544) @@ -360,7 +360,7 @@ SUBDIR= \ snp \ sound \ ${_speaker} \ - spigen \ + spi \ ${_splash} \ ${_sppp} \ ste \ Added: head/sys/modules/spi/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/modules/spi/Makefile Mon Feb 19 01:32:27 2018 (r329544) @@ -0,0 +1,7 @@ +# $FreeBSD$ + +SUBDIR = \ + ../spigen \ + spibus \ + +.include <bsd.subdir.mk> Added: head/sys/modules/spi/spibus/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/modules/spi/spibus/Makefile Mon Feb 19 01:32:27 2018 (r329544) @@ -0,0 +1,19 @@ +# $FreeBSD$ + +.PATH: ${SRCTOP}/sys/dev/spibus + +KMOD= spibus +SRCS= spibus.c + +.if !empty(OPT_FDT) +SRCS+= ofw_spibus.c +.endif + +# Generated files... +SRCS+= \ + bus_if.h \ + device_if.h \ + spibus_if.c \ + spibus_if.h \ + +.include <bsd.kmod.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802190132.w1J1WR82020118>