lkml.org 
[lkml]   [2004]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectDummy network device
> Hello,
>
> After I upgraded to 2.6.3 from 2.4.20 I discovered that I can only get
> 1 dummy device. I need to be able to load 3 dummy network devices.
> Scouring the kernel archives, it looks like this can be accomplished
> through MODULE_PARAMS, but I can find no information on the
> module_params are or how to use them. I have dummy built as a module
> and it does load at startup as dummy0. How do I get dummy1 and dummy2?
>
> In answering this message, please CC me.
>
> Thanks for your help,
> Rick Knight
> (rick@rlknight.com)


Never mind,

I found the answer. From the archive. Decided to look at dummy.c and
numdummies=1, changed it to numdummies=3 and rebuilt that module. Works
like a charm.

Question/Suggestion, couldn't this be made an option at configuration?
Kind of like number_of_ptys=256.

Please CC me with any response.

Thanks,
Rick Knight
(rick@rlknight.com)

-
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: 2005-03-22 14:01    [W:0.030 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site