On Mon, 7 Oct 2002, David Brownell wrote:

| > Applied with one little change:
| >
| >
| >>+#ifdef     GENERIC
| >>+static int vendor;
| >>+MODULE_PARM (vendor, "i");
| >>+MODULE_PARM_DESC (vendor, "vendor code (from usb-if)");
| >>+
| >>+static int product;
| >>+MODULE_PARM (product, "i");
| >>+MODULE_PARM_DESC (product, "product code (from vendor)");
| >>+#endif
| >
| >
| > I changed both of these to be of type "h" as it's easier to type in hex
| > values for the vendor and product.
|
| Fine with me, though I've already been using 'vendor=0xNNNN' with
| no problems.

Yes, the 'h' means "short" (vs. "int"), not hex.
And they probably should be short, not int.  :)

-- 
~Randy
  "In general, avoiding problems is better than solving them."
  -- from "#ifdef Considered Harmful", Spencer & Collyer, USENIX 1992.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to