From owner-freebsd-usb@FreeBSD.ORG Sat Mar 3 18:04:03 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54C79106582B; Sat, 3 Mar 2012 18:04:00 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id 4B0808FC13; Sat, 3 Mar 2012 18:03:58 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 244285303; Sat, 03 Mar 2012 19:03:51 +0100 From: Hans Petter Selasky To: freebsd-arch@freebsd.org Date: Sat, 3 Mar 2012 19:02:10 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.3-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <201202181720.27135.hselasky@c2i.net> <20120303124805.GA4725@thorin> In-Reply-To: <20120303124805.GA4725@thorin> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201203031902.11035.hselasky@c2i.net> Cc: Kostik Belousov , Adrian Chadd , freebsd-usb@freebsd.org Subject: Re: Exclude USB drivers from main kernel image? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 18:04:03 -0000 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. > > If early USB serial output is desired, it can be enabled by enabling the > module in bootloader. Is that an acceptable trade-off? > > > Your patch looks OK. Adding ARCH @ > > > > Instead of commenting out, I would just remove those lines. > > Here's a new patch that removes the lines instead of commenting them out. > > Consistently with that, it also removes a few lines which were already > commented out, using the same criteria. > > Also, it disables a few more USB drivers. Due to an oversight my previous > patch didn't disable all drivers that devd can handle. > > Patch is tested with "make universe" on HEAD. Hi, Your patch looks good. Are there any objections committing the patch attached to the previous e-mail? --HPS