From owner-freebsd-arch@FreeBSD.ORG Thu Jan 4 03:36:49 2007 Return-Path: X-Original-To: arch@FreeBSD.org 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 C006E16A403 for ; Thu, 4 Jan 2007 03:36:49 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 7F32613C457 for ; Thu, 4 Jan 2007 03:36:49 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id l043XsWe039223; Wed, 3 Jan 2007 20:33:55 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 03 Jan 2007 20:34:03 -0700 (MST) Message-Id: <20070103.203403.63053841.imp@bsdimp.com> To: uspoerlein@gmail.com From: "M. Warner Losh" In-Reply-To: <20070103205841.GB85200@roadrunner.q.local> References: <20070101.113801.818271922.imp@bsdimp.com> <20070103205841.GB85200@roadrunner.q.local> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Wed, 03 Jan 2007 20:33:55 -0700 (MST) Cc: arch@FreeBSD.org Subject: Re: usb modems and com devices into GENERIC 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: Thu, 04 Jan 2007 03:36:49 -0000 In message: <20070103205841.GB85200@roadrunner.q.local> Ulrich Spoerlein writes: : M. Warner Losh wrote: : > I'd like to place the following in GENERIC. We're getting more and : > more questions about these devices that we wouldn't be getting if we : > had them compiled in by default. The really imporant ones are marked : > with a '*' below : > : > device ucom # * : > device umodem # * : > device umct : > device uark : > device ubsa : > device ubser : > device uftdi # * : > device uplcom # * : > device uvisor : > device uvscom : > : > the cost isn's so much, and we can filter them out from the : > installation kernel if size is an issue. : > : > Comments? : : Hi Warner, : : why not do it the other way round? Keep them out of GENERIC, but have : loader(8) load some of the most used modules (snd_driver!) per default. : : That way, people can easily disable these (without needing to : recompile). : : I mean, what point is there in the whole KLD infrastructure, if we are : going to add every device into GENERIC anyway? Because the meta-data necessary to know which module to load doesn't presently exist in a standardized enough form to make this a viable option. Each driver does its own thing to match the cards, and there's no easy way to know that any given usb device needs module foo. Warner