From owner-freebsd-arch@FreeBSD.ORG Sun Jun 12 17:54:33 2011 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A51C61065688; Sun, 12 Jun 2011 17:54:33 +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 43EF38FC08; Sun, 12 Jun 2011 17:54:33 +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 p5CHpCWb065144 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Sun, 12 Jun 2011 11:51:13 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) From: Warner Losh In-Reply-To: Date: Sun, 12 Jun 2011 11:51:11 -0600 Message-Id: References: To: Adrian Chadd 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]); Sun, 12 Jun 2011 11:51:13 -0600 (MDT) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-arch@FreeBSD.org Subject: Re: [RFC] shipping kernels with default modules? 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: Sun, 12 Jun 2011 17:54:33 -0000 On Jun 12, 2011, at 12:36 AM, Adrian Chadd wrote: > On 11 June 2011 17:21, Adrian Chadd wrote: >=20 >> Is there any reason we aren't doing this at the moment? Eg by having = a >> default loader modules list populated from the kernel config file? >=20 > The immediate problem - how does one get the config parameters from > the kernel configuration file to appear in the per-module build setup? For options, we've been doing that for years. Config generates the = opt_foo.h files, and they are picked up by the modules. > Or, in a more general sense, how do you do per-module configuration? Generally, the modules follow the global settings, since we've never = tested building some network drivers with INET and some without, for = example. Or did you have something else in mind when you asked? Warner=