lkml.org 
[lkml]   [2004]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] v4l-05 add infrared remote support
> This provides simple forwards compat for 2.4.  It doesn't do arrays or
> strings, but they can be added if required (this will cover the easy
> 90%).

At least the array stuff I'm using in my drivers, to handle the
"multiple tv cards in one box" case, like this:

static unsigned int card[] = {[0 ... (SAA7134_MAXBOARDS - 1)] = UNSET };
MODULE_PARM(card,"1-" __stringify(SAA7134_MAXBOARDS) "i");
MODULE_PARM_DESC(card,"card type");

So having that in 2.4 too would be nice.

I have also two more questions: How can I specify default values != 0
for insmod options using the new macros? How specify help/description
texts? Using the MODULE_PARM_DESC() macro or is there something new too?

Gerd

-
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:00    [W:0.067 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site