Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262073AbTELMWZ (ORCPT ); Mon, 12 May 2003 08:22:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262090AbTELMWZ (ORCPT ); Mon, 12 May 2003 08:22:25 -0400 Received: from mion.elka.pw.edu.pl ([194.29.160.35]:20637 "EHLO mion.elka.pw.edu.pl") by vger.kernel.org with ESMTP id S262073AbTELMWY (ORCPT ); Mon, 12 May 2003 08:22:24 -0400 Date: Mon, 12 May 2003 14:34:19 +0200 (MET DST) From: Bartlomiej Zolnierkiewicz To: Rusty Russell cc: Jeremy Jackson , Alan Cox , Subject: Re: [PATCH] Switch ide parameters to new-style and make them unique. In-Reply-To: <20030512063812.EEDAF2C0F5@lists.samba.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1329 Lines: 43 On Mon, 12 May 2003, Rusty Russell wrote: > In message <003f01c31828$c8e9f480$7c07a8c0@kennet.coplanar.net> you write: > > Cool stuff. > > > > As far as making the parameters easy to parse, I think you would want to > > have a single static tag before the = (equal) sign. The kernel command line > > parsing stuff provides parsing up to that point and dispatches to each > > subsystem (or at least it used to), so: > > > > ata.dev_noprobe=hda > > > > should be > > > > ata=dev_noprobe:hda,if_io_irq:0,0x1f0,7 > > > > or some such to use the generic code that's already there. Already there? :-) Generic code to do this would be nice. > Sure, some more complex generic parsing thing certainly makes sense. > I think whoever produces the code will probably get to decide what it > looks like. For the beginning generic helper which grabs table of strings (driver params) and pointers to parsing functions ('char *s' arg, 'int' return) would be useful for many drivers... -- Bartlomiej > Cheers! > Rusty. > -- > Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - 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/