From owner-svn-src-head@FreeBSD.ORG Sat Feb 4 09:48:26 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 010C3106566B; Sat, 4 Feb 2012 09:48:26 +0000 (UTC) (envelope-from zeising@daemonic.se) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) by mx1.freebsd.org (Postfix) with ESMTP id 6B3A28FC13; Sat, 4 Feb 2012 09:48:25 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 4818640010; Sat, 4 Feb 2012 10:48:24 +0100 (CET) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 3D34F4000F; Sat, 4 Feb 2012 10:48:24 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.3.1 X-Spam-Score: 0.0 Received: from mx.daemonic.se (mx.daemonic.se [IPv6:2001:470:dca9:0:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id B1AA34000F; Sat, 4 Feb 2012 10:48:23 +0100 (CET) Received: from mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) by mx.daemonic.se (Postfix) with ESMTPS id 24CF9119D3D; Sat, 4 Feb 2012 10:48:23 +0100 (CET) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mx.daemonic.se ([IPv6:2001:470:dca9:0:1::3]) (using TLS with cipher CAMELLIA256-SHA) by mailscanner.daemonic.se (mailscanner.daemonic.se [2001:470:dca9:0:1::6]) (amavisd-new, port 10025) with ESMTPS id 6nvIlr2ARTQs; Sat, 4 Feb 2012 10:48:20 +0100 (CET) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2001:470:dca9:0:1::4]) by mx.daemonic.se (Postfix) with ESMTPS id 84F8C119D3C; Sat, 4 Feb 2012 10:48:20 +0100 (CET) Received: from [IPv6:2001:470:dca9:1::4] (vivi.daemonic.se [IPv6:2001:470:dca9:1::4]) by mail.daemonic.se (Postfix) with ESMTPSA id 661A312B089; Sat, 4 Feb 2012 10:48:20 +0100 (CET) Message-ID: <4F2CFEE3.6070306@daemonic.se> Date: Sat, 04 Feb 2012 10:48:19 +0100 From: Niclas Zeising User-Agent: Mutt/1.5.21 MIME-Version: 1.0 To: Robert Millan References: <201202040054.q140siBP012241@svn.freebsd.org> In-Reply-To: <201202040054.q140siBP012241@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r230972 - in head: share/mk sys/amd64/conf sys/i386/conf sys/modules sys/modules/drm sys/modules/sound/driver sys/modules/usb tools/build/options X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 04 Feb 2012 09:48:26 -0000 On 2012-02-04 01:54, Robert Millan wrote: > Author: rmh > Date: Sat Feb 4 00:54:43 2012 > New Revision: 230972 > URL: http://svn.freebsd.org/changeset/base/230972 > > Log: > Add MK_SOURCELESS build option. Setting MK_SOURCELESS to "no" will disable > kernel modules that include binary-only code. > > More fine-grained control is provided via MK_SOURCELESS_HOST (for native code > that runs on host CPU) and MK_SOURCELESS_UCODE (for microcode). > > Reviewed by: julian, delphij, freebsd-arch > Approved by: kib (mentor) > MFC after: 2 weeks > > Added: > head/sys/amd64/conf/WITHOUT_SOURCELESS (contents, props changed) > head/sys/amd64/conf/WITHOUT_SOURCELESS_HOST (contents, props changed) > head/sys/amd64/conf/WITHOUT_SOURCELESS_UCODE (contents, props changed) > head/sys/i386/conf/WITHOUT_SOURCELESS (contents, props changed) > head/sys/i386/conf/WITHOUT_SOURCELESS_HOST (contents, props changed) > head/sys/i386/conf/WITHOUT_SOURCELESS_UCODE (contents, props changed) > head/tools/build/options/WITHOUT_SOURCELESS (contents, props changed) > head/tools/build/options/WITHOUT_SOURCELESS_HOST (contents, props changed) > head/tools/build/options/WITHOUT_SOURCELESS_UCODE (contents, props changed) > Modified: > head/share/mk/bsd.own.mk > head/sys/modules/Makefile > head/sys/modules/drm/Makefile > head/sys/modules/sound/driver/Makefile > head/sys/modules/usb/Makefile > > > Added: head/sys/amd64/conf/WITHOUT_SOURCELESS_HOST > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/sys/amd64/conf/WITHOUT_SOURCELESS_HOST Sat Feb 4 00:54:43 2012 (r230972) > @@ -0,0 +1,10 @@ > +# > +# WITHOUT_SOURCELESS_UCODE -- Disable drivers that include sourceless ^^^^^ This seems like a typo. Shouldn't it read HOST instead? > +# native code for host CPU. > +# > +# $FreeBSD$ > + > +nodevice hpt27xx > +nodevice hptmv > +nodevice hptrr > +nodevice nve > > > Added: head/sys/i386/conf/WITHOUT_SOURCELESS_HOST > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/sys/i386/conf/WITHOUT_SOURCELESS_HOST Sat Feb 4 00:54:43 2012 (r230972) > @@ -0,0 +1,10 @@ > +# > +# WITHOUT_SOURCELESS_UCODE -- Disable drivers that include sourceless ^^^^^ Same here. > +# native code for host CPU. > +# > +# $FreeBSD$ > + > +nodevice hpt27xx > +nodevice hptmv > +nodevice hptrr > +nodevice nve > > Also, can you please regenerate the src.conf manual page? Perhaps it should be documented somewhere which drivers/modules that are affected by this as well. Thank you! Regards! -- Niclas