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

2007-09-19 Thread Randy Dunlap
On 19 Sep 2007 10:26:54 +0200 Andi Kleen wrote: > "Andrey Kamchatnikov" <[EMAIL PROTECTED]> writes: > > > 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

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

2007-09-19 Thread Andreas Herrmann
On Wed, Sep 19, 2007 at 08:54:58AM +0200, Andrey Kamchatnikov wrote: > 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. It might work

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

2007-09-19 Thread Andi Kleen
"Andrey Kamchatnikov" <[EMAIL PROTECTED]> writes: > 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. The standard trick to do that is to

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

2007-09-19 Thread Nobin Mathew
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 <[EMAIL PROTECTED]> wrote: > Hi, > > Could someone to make clear next question: > > I have one driver, but I need to run 4 instances of it (I

Problem: one driver and 4 instances with different parameters

2007-09-19 Thread Andrey Kamchatnikov
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

Problem: one driver and 4 instances with different parameters

2007-09-19 Thread Andrey Kamchatnikov
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

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

2007-09-19 Thread Nobin Mathew
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 [EMAIL PROTECTED] wrote: Hi, Could someone to make clear next question: I have one driver, but I need to run 4 instances of it (I run

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

2007-09-19 Thread Andi Kleen
Andrey Kamchatnikov [EMAIL PROTECTED] writes: 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. The standard trick to do that is to copy the

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

2007-09-19 Thread Andreas Herrmann
On Wed, Sep 19, 2007 at 08:54:58AM +0200, Andrey Kamchatnikov wrote: 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. It might work using

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

2007-09-19 Thread Randy Dunlap
On 19 Sep 2007 10:26:54 +0200 Andi Kleen wrote: Andrey Kamchatnikov [EMAIL PROTECTED] writes: 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