Re: Problem: one driver and 4 instances with differentparameters

From: Andreas Herrmann
Date: Wed Sep 19 2007 - 04:53:29 EST


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 modprobe's "--name"-option:

# modprobe -o foo driver
# modprobe -o bar driver


Regards,

Andreas

--
Operating | AMD Saxony Limited Liability Company & Co. KG,
System | Wilschdorfer Landstr. 101, 01109 Dresden, Germany
Research | Register Court Dresden: HRA 4896, General Partner authorized
Center | to represent: AMD Saxony LLC (Wilmington, Delaware, US)
(OSRC) | General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy



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