From owner-svn-src-all@freebsd.org Mon Feb 19 00:47:04 2018 Return-Path: Delivered-To: svn-src-all@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 CB705F16251; Mon, 19 Feb 2018 00:47:04 +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 7DD8D759EA; Mon, 19 Feb 2018 00:47:04 +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 747AF137B6; Mon, 19 Feb 2018 00:47:04 +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 w1J0l4x7095116; Mon, 19 Feb 2018 00:47:04 GMT (envelope-from ian@FreeBSD.org) Received: (from ian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1J0l4tt095114; Mon, 19 Feb 2018 00:47:04 GMT (envelope-from ian@FreeBSD.org) Message-Id: <201802190047.w1J0l4tt095114@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 00:47:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r329541 - in head/sys/modules/i2c: . ofw_iicbus X-SVN-Group: head X-SVN-Commit-Author: ian X-SVN-Commit-Paths: in head/sys/modules/i2c: . ofw_iicbus X-SVN-Commit-Revision: 329541 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2018 00:47:05 -0000 Author: ian Date: Mon Feb 19 00:47:03 2018 New Revision: 329541 URL: https://svnweb.freebsd.org/changeset/base/329541 Log: Build ofw_iicbus as a module if OPT_FDT is defined. Added: head/sys/modules/i2c/ofw_iicbus/ head/sys/modules/i2c/ofw_iicbus/Makefile (contents, props changed) Modified: head/sys/modules/i2c/Makefile Modified: head/sys/modules/i2c/Makefile ============================================================================== --- head/sys/modules/i2c/Makefile Mon Feb 19 00:38:14 2018 (r329540) +++ head/sys/modules/i2c/Makefile Mon Feb 19 00:47:03 2018 (r329541) @@ -20,4 +20,8 @@ SUBDIR = \ smb \ smbus \ +.if !empty(OPT_FDT) +SUBDIR += ofw_iicbus +.endif + .include Added: head/sys/modules/i2c/ofw_iicbus/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/modules/i2c/ofw_iicbus/Makefile Mon Feb 19 00:47:03 2018 (r329541) @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.PATH: ${SRCTOP}/sys/dev/iicbus + +KMOD= ofw_iicbus +SRCS= ofw_iicbus.c + +SRCS+= \ + bus_if.h \ + device_if.h \ + iicbus_if.h \ + ofw_bus_if.h \ + opt_platform.h \ + +.include