Re: idebus setup problem (2.6.7-rc1)

From: Rusty Russell
Date: Thu Jun 03 2004 - 23:37:52 EST


On Fri, 2004-06-04 at 07:44, Bartlomiej Zolnierkiewicz wrote:
> On Thursday 03 of June 2004 23:31, Herbert Poetzl wrote:
> > On Thu, Jun 03, 2004 at 10:05:08PM +0800, Zhu, Yi wrote:
> > > Rusty Russell wrote:
> > > > Dislike this idea. If you have hundreds of parameters, maybe it's
> > > > supposed to be a PITA?
> > >
> > > What's your idea to make module_param support alterable param
> > > names like ide3=xxx ?
> >
> > hmm, what about making all those something like:
> >
> > ide=3:foo,bar;4:wossname
>
> We are in stable kernel and in 2.7 'idex=' and 'hdx=' will die.

Yes, and if you want to clean this up for 2.6, I'd recommend simply
putting twenty module_param_call() lines.

It's ugly, but that's because it's doing ugly things, IMHO, and I don't
think Bart would disagree?

Rusty.
--
Anyone who quotes me in their signature is an idiot -- Rusty Russell

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/