From owner-svn-src-all@FreeBSD.ORG Sat Mar 16 16:54:03 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6AA15DEA; Sat, 16 Mar 2013 16:54:03 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from felyko.com (felyko.com [IPv6:2607:f2f8:a528::3:1337:ca7]) by mx1.freebsd.org (Postfix) with ESMTP id 4CAED81B; Sat, 16 Mar 2013 16:54:03 +0000 (UTC) Received: from [IPv6:2601:9:4d00:90:432:5031:8b00:e11] (unknown [IPv6:2601:9:4d00:90:432:5031:8b00:e11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by felyko.com (Postfix) with ESMTPSA id 413C03981E; Sat, 16 Mar 2013 09:54:02 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: svn commit: r247814 - in head: . sys/amd64/conf sys/cam/ctl sys/conf sys/i386/conf From: Rui Paulo In-Reply-To: <201303131108.27005.jhb@freebsd.org> Date: Sat, 16 Mar 2013 09:54:01 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <6B59A612-B737-4E1F-AF56-0DA1D0733F0A@FreeBSD.org> References: <201303042118.r24LIj5e008913@svn.freebsd.org> <20130312210921.GB1390@garage.freebsd.pl> <201303131108.27005.jhb@freebsd.org> To: John Baldwin X-Mailer: Apple Mail (2.1503) Cc: svn-src-head@freebsd.org, "Kenneth D. Merry" , svn-src-all@freebsd.org, src-committers@freebsd.org, Pawel Jakub Dawidek X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 16 Mar 2013 16:54:03 -0000 On 2013/03/13, at 8:08, John Baldwin wrote: > On Tuesday, March 12, 2013 5:09:21 pm Pawel Jakub Dawidek wrote: >> On Mon, Mar 04, 2013 at 09:18:45PM +0000, Kenneth D. Merry wrote: >>> Author: ken >>> Date: Mon Mar 4 21:18:45 2013 >>> New Revision: 247814 >>> URL: http://svnweb.freebsd.org/changeset/base/247814 >>>=20 >>> Log: >>> Re-enable CTL in GENERIC on i386 and amd64, but turn on the CTL = disable >>> tunable by default. >>>=20 >>> This will allow GENERIC configurations to boot on small memory = boxes, but >>> not require end users who want to use CTL to recompile their = kernel. They >>> can simply set kern.cam.ctl.disable=3D0 in loader.conf. >>=20 >> Could you rename it to kern.cam.ctl.enable(d)? There was discussion = at >> some point about sysctl/tunable names and the consensus was, AFAIR, = to >> use positive(?) names as they are more obvious. >=20 > Except that all the hints we use for devices are hint.foo.X.disable=3D1 = :) I think this is not correct. The `disabled' hint comes from = resource_disabled(), which checks for "resource_int_value(name, unit, = "disabled", &value);" Regards, -- Rui Paulo