Re: RFC: Harmonised parameter passing

From: Dmitry Torokhov
Date: Tue Mar 08 2005 - 11:00:45 EST


On Tue, 8 Mar 2005 16:47:47 +0100, Henk Vergonet
<rememberme@xxxxxxxxxxxxxx> wrote:
> One question remains though, how do you handle the initialization of
> multiple instances of an inbound driver?
>
> mcd0.io=0x340 mcd1.io=0x350
>

I think the most common practice is to specify a list of addresses:
mcd.io=0x340,0x350

module_param_array() helps here.

--
Dmitry
-
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/