From owner-freebsd-arch@FreeBSD.ORG Sat Mar 3 18:42:12 2012 Return-Path: Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D7900106564A; Sat, 3 Mar 2012 18:42:12 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 628A08FC08; Sat, 3 Mar 2012 18:42:09 +0000 (UTC) Received: from 63.imp.bsdimp.com (63.imp.bsdimp.com [10.0.0.63]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id q23Ibnj7081759 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Sat, 3 Mar 2012 11:37:50 -0700 (MST) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <201203031902.11035.hselasky@c2i.net> Date: Sat, 3 Mar 2012 11:37:49 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201202181720.27135.hselasky@c2i.net> <20120303124805.GA4725@thorin> <201203031902.11035.hselasky@c2i.net> To: Hans Petter Selasky X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Sat, 03 Mar 2012 11:37:50 -0700 (MST) Cc: Kostik Belousov , Adrian Chadd , Robert Millan , freebsd-usb@FreeBSD.ORG, freebsd-arch@FreeBSD.ORG Subject: Re: Exclude USB drivers from main kernel image? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 18:42:12 -0000 On Mar 3, 2012, at 11:02 AM, Hans Petter Selasky wrote: > On Saturday 03 March 2012 13:48:05 Robert Millan wrote: >> On Sat, Feb 18, 2012 at 05:20:27PM +0100, Hans Petter Selasky wrote: >>> The /etc/devd/usb.conf is regularly updated, though not = automatically. It >>> should auto-load most kind of devices. Only additional case that = comes to >>> mind is that USB serial console will not be active until devd has >>> executed, if that is enabled. >>=20 >> If early USB serial output is desired, it can be enabled by enabling = the >> module in bootloader. Is that an acceptable trade-off? >>=20 >>> Your patch looks OK. Adding ARCH @ >>>=20 >>> Instead of commenting out, I would just remove those lines. >>=20 >> Here's a new patch that removes the lines instead of commenting them = out. >>=20 >> Consistently with that, it also removes a few lines which were = already >> commented out, using the same criteria. >>=20 >> Also, it disables a few more USB drivers. Due to an oversight my = previous >> patch didn't disable all drivers that devd can handle. >>=20 >> Patch is tested with "make universe" on HEAD. >=20 > Hi, >=20 > Your patch looks good. >=20 > Are there any objections committing the patch attached to the previous = e-mail? Do all the platforms that had the devices removed work? Have they all = been tested? Warner