lkml.org 
[lkml]   [2007]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Problem: one driver and 4 instances with different parameters
From
Date
"Andrey Kamchatnikov" <andrey.kamchatnikov@tec-venture.de> 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 module binary to four different
names (the module name is not encoded in the binary)

But it would be better to just fix the driver to allow this
with a single instance with some other run time configuration
mechanism and not use module parameters (which
are generally somewhat deprecated anyways)

-Andi

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

\
 
 \ /
  Last update: 2007-09-19 10:29    [W:2.407 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site