Re: Problem: one driver and 4 instances with different parameters

From: Nobin Mathew
Date: Wed Sep 19 2007 - 03:40:18 EST


I think you need to modify your driver. So that you need to do only
single insmod. and handle the 4 instances internally.

On 9/19/07, Andrey Kamchatnikov <andrey.kamchatnikov@xxxxxxxxxxxxxx> wrote:
> Hi,
>
> Could someone to make clear next question:
>
> I have one driver, but I need to run 4 instances of it (I run insmod with
> different parameters) .
>
> But when I try to install the second driver I've got an error, that driver
> with this name exists.
>
> How can I istall them? I don't want to use 4 different driver's sources.
>
> Thank you,
>
> Andrey
>
> -
> 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/
>
-
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/