On Thu, 15 Apr 2004, Robert Schwebel wrote:

> Hi, 
> 
> the usbserial driver can have two parameters, vendor=0xXXXX and
> product=0xYYYY. Currently they are defined as 'h' which is 16 bit
> (correct), but _signed_. This means that IDs larger than 0x7FFF do not
> work right now. 
> 
> The fix below is my quickhack - maybe somebody has a better idea. 
> 
> Robert

For Linux 2.6 you could use module_param instead of MODULE_PARM.  That 
will allow you to specify the type as ushort.

Alan Stern




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to