From owner-svn-src-head@freebsd.org Mon Feb 19 01:32:28 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48C98F1989C; Mon, 19 Feb 2018 01:32:28 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ECBDB77963; Mon, 19 Feb 2018 01:32:27 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E7C1313FA7; Mon, 19 Feb 2018 01:32:27 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1J1WR2p020121; Mon, 19 Feb 2018 01:32:27 GMT (envelope-from ian@FreeBSD.org) Received: (from ian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1J1WR82020118; Mon, 19 Feb 2018 01:32:27 GMT (envelope-from ian@FreeBSD.org) Message-Id: <201802190132.w1J1WR82020118@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ian set sender to ian@FreeBSD.org using -f From: Ian Lepore Date: Mon, 19 Feb 2018 01:32:27 +0000 (UTC) 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 X-SVN-Group: head X-SVN-Commit-Author: ian X-SVN-Commit-Paths: in head/sys/modules: . spi spi/spibus X-SVN-Commit-Revision: 329544 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2018 01:32:28 -0000 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 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