Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752970AbYHLPZj (ORCPT ); Tue, 12 Aug 2008 11:25:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752854AbYHLPZN (ORCPT ); Tue, 12 Aug 2008 11:25:13 -0400 Received: from smtp6.pp.htv.fi ([213.243.153.40]:37964 "EHLO smtp6.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752294AbYHLPZM (ORCPT ); Tue, 12 Aug 2008 11:25:12 -0400 Date: Tue, 12 Aug 2008 18:23:26 +0300 From: Adrian Bunk To: Rene Herman Cc: Andrew Morton , Alan Cox , fritz@isdn4linux.de, kkeil@suse.de, isdn4linux@listserv.isdn4linux.de, linux-kernel@vger.kernel.org, mingo@elte.hu Subject: Re: [PATCH] ISDN: make ICN not auto-grab port 0x320 Message-ID: <20080812152326.GA1676@cs181140183.pp.htv.fi> References: <20080809215020.1bb602e7@lxorguk.ukuu.org.uk> <20080811164814.db41c20b.akpm@linux-foundation.org> <48A11952.6090203@keyaccess.nl> <20080811223043.9ad55c51.akpm@linux-foundation.org> <20080812130823.GD13910@cs181140183.pp.htv.fi> <48A18F7B.6040809@keyaccess.nl> <20080812134337.GG13910@cs181140183.pp.htv.fi> <48A195DD.5050602@keyaccess.nl> <20080812140352.GH13910@cs181140183.pp.htv.fi> <48A1A1FA.3050105@keyaccess.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <48A1A1FA.3050105@keyaccess.nl> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2646 Lines: 76 On Tue, Aug 12, 2008 at 04:45:14PM +0200, Rene Herman wrote: > > On 12-08-08 16:03, Adrian Bunk wrote: > >> On Tue, Aug 12, 2008 at 03:53:33PM +0200, Rene Herman wrote: >>> On 12-08-08 15:43, Adrian Bunk wrote: >>> >>>>> Currently, we have a tristate that turns into a y/n bool if >>>>> !MODULES. What would be real nice here is a tristate that turns >>>>> into a m/n bool if !RANDOM, where allyesconfig and randconfig >>>>> would pre-select RANDOM. >>>> allyesconfig is not random. >>> Oh, how very, very important. s/RANDOM/!SPECIFIC/ then (and I meant >>> "if RANDOM" ofcourse). >>> >>> The point is just that such a tristate would be a one-stop mark for >>> drivers/options that you want to be specifically selected for >>> builtin use since they're not necessarily expected to boot on >>> general PCs. >> >> The part of what you want that is AFAIK not possible with the current >> kconfig is the "allyesconfig and randconfig would pre-select". >> >> The actual dependencies on such an option could trivially be expressed >> the way you want it. > > Obviously, and that's what is already being done. The point is that as a > kconfig intrinsic it doesn't add complexity. > >> But I'm trying to make the kconfig dependencies more robust by making >> them less complex, and making them more complex for this developer-only >> use case is nonsense. > > There's nothing complex about > > config FOO > modstate "Dafttech Boot Breaker 2000 support" What happens if another option selects FOO? As soon as you mix select's with dependencies and tristates you are at the heart of all kconfig complexity... > with a modstate being; > > - a tristate when !CONFIG_RANDOM > - an m/n choice otherwise You don't need to add a new syntax for that. > And note that it's not "single developer use case". Feel how you want > about anyone, but it's about useful testing being done. It's about > developers getting bugs reported to them as a result. It is something that would only be used by a handful of kernel developers. It's like randconfig, where having to force CONFIG_STANDALONE=y never was a real obstable. > Rene. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/