Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 26 Jun 2002 17:23:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 26 Jun 2002 17:23:15 -0400 Received: from cpe-24-221-152-185.az.sprintbbd.net ([24.221.152.185]:5792 "EHLO opus.bloom.county") by vger.kernel.org with ESMTP id ; Wed, 26 Jun 2002 17:23:14 -0400 Date: Wed, 26 Jun 2002 14:23:07 -0700 From: Tom Rini To: Brad Hards Cc: lkml Subject: Re: [PATCH/RFC 2.4.19-rc1] Fix dependancies on keybdev.o Message-ID: <20020626212307.GU3489@opus.bloom.county> References: <20020625160644.GP3489@opus.bloom.county> <200206261236.24247.bhards@bigpond.net.au> <20020626144609.GR3489@opus.bloom.county> <200206270658.04695.bhards@bigpond.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200206270658.04695.bhards@bigpond.net.au> User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2280 Lines: 47 On Thu, Jun 27, 2002 at 06:58:04AM +1000, Brad Hards wrote: > On Thu, 27 Jun 2002 00:46, Tom Rini wrote: > > On Wed, Jun 26, 2002 at 12:36:24PM +1000, Brad Hards wrote: > > > 2. Move keyboard handling code to input subsystem > > > > I think that will work out the best. How's the attached look? It moves > > drivers/input/Config.in inside of drivers/char/Config.in and then fixes > > arches which had both. (Lightly tested from xconfig[1] for all arches > > which got changed). > > I'm opposed to further junk going into drivers/char. It is already an > incomprehensible mess of unrelated code. drivers/char/Config.in isn't too bad right now. If you skip over the horrific mess that is serial support, anyhow. Perhaps moving some of the arch-specific questions out to arch/$(ARCH)/config.in > Actually, I've got another idea, based on some stuff that I've been working on > for the ACPI "its not just power management" issue. > > If you need to set something in drivers/input (per your original patch) that > depends on things that are set in drivers/char (or drivers/usb, anything that > comes later), then split the Config.in into two sections. One section > contains the normal Config.in user-selectable options, and a second > drivers/input/Config-post.in, that is sourced in at the end of > arch/foo/config.in and contains only automated Config.in dependancies (ie > define_bool) but no user selectable options. > > Does this make sense? If not, I'll try for a patch that shows it later this > morning. I don't think this makes sense for input however, unless we kill off drivers/input/Config.in (and for sh/m68k/sparc64 just paste the lines in) and merge it into drivers/char/Config.in (CONFIG_INPUT, CONFIG_INPUT_{KEYB,MOUSE,EV}DEV) and drivers/char/joystick/Config.in (CONFIG_INPUT_JOYSTICK). I wouldn't be opposed to doing that... And for USB (CONFIG_INPUT'ed) joysticks we aren't any worse off, and perhaps we could even move those into a USB menu. -- Tom Rini (TR1265) http://gate.crashing.org/~trini/ - 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/