From owner-freebsd-current@FreeBSD.ORG Wed Feb 11 22:22:33 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 427A410657DD for ; Wed, 11 Feb 2009 22:22:32 +0000 (UTC) (envelope-from army.of.root@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 7422F8FC22 for ; Wed, 11 Feb 2009 22:22:31 +0000 (UTC) (envelope-from army.of.root@googlemail.com) Received: by fg-out-1718.google.com with SMTP id l26so184023fgb.35 for ; Wed, 11 Feb 2009 14:22:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=uiGMuGUENsOtKflWHwnqaCq/NdRCjT+2AM445tcXq6s=; b=gAYV9s4yoH56rCYJpoFnNN7AmscsrzRaPKdtPKplKB0esus/IcE8AoTx09IIG3XLoL /nX2MfToNtmSJbCmxfdH5DarqXvqbt9VuNnqTiNaoSB9LZhO+fdHcB1b9mi6Igm0tZXr ZceNEd7QZH/byINAPHEJ+6zjKpZhKNC40XfNc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=BZ3m4E0xDtSDr90HXe6Eepaqcn1eMNPUgDQzmVrAV0gdBB4Xy2mz5iXes4hlTb06Wl jGqE2phpKWN0jmalbpqCCwh1xf7WNc33wpBpEq/TARVKAw7avLW6ZAnB6EbBs4Cl9Zbp Q1qfIbptZDbRS1jrKwnJzfdzs6JgDKecUis8M= Received: by 10.86.91.3 with SMTP id o3mr962513fgb.60.1234389344006; Wed, 11 Feb 2009 13:55:44 -0800 (PST) Received: from ?192.168.2.24? (p5486F15E.dip.t-dialin.net [84.134.241.94]) by mx.google.com with ESMTPS id d6sm5175303fga.49.2009.02.11.13.55.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 11 Feb 2009 13:55:43 -0800 (PST) Message-ID: <49934959.4060803@gmail.com> Date: Wed, 11 Feb 2009 22:55:37 +0100 From: "army.of.root" User-Agent: Thunderbird 2.0.0.17 (X11/20081028) MIME-Version: 1.0 To: Buganini References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 11 Feb 2009 22:45:53 +0000 Cc: current@freebsd.org Subject: Re: modular kernconf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 22:22:39 -0000 Buganini wrote: > (on i386 or amd64) > I think it would be good to modularize kernconf. > Now my kernconf include GENERIC, then add things I need, > but I need to nodevice/nooptions many things I dont want. > Maybe we can split GENERIC into several parts, > the first parts is things before "device fdc" and atkbc, syscons, > power sections. > The others could be only one part or seperated to parts like SCSI, > NIC, WIRELESS, USB...etc. > > This way I can customize my kernconf cleanly and easily. > Like today I want to try USB2, I just change the GENERIC to USB2, then > I got what I want. > > I dont like to make a replica GENERIC then modify it, > because sometimes options in the SCHED section changes, > and in this case, if I want to try USB2, things become dirty. Hi, I would really like the kernconf to stay in one file. What would help is a more well structure in the GENERIC and extensive documentation for what a specific module is good for and what depends on it and what it depends on. I did also try the usb2 stack a while ago and got a bit confused. :) regards PS: Thanks to all Devs for the pure awesomness of FreeBSD!