When compiling a USB serial driver (mct_u232 in my case) without USB generic serial support, the compile process stops because of undefined 'vendor' and 'product' symbols.
The attached patch corrects this issue. Stelian. --- linux-2.4.9-ac16/drivers/usb/serial/usbserial.c.orig Fri Sep 28 11:35:39 2001 +++ linux-2.4.9-ac16/drivers/usb/serial/usbserial.c Fri Sep 28 11:35:52 2001 @@ -323,11 +323,10 @@ static void generic_write_bulk_callback (struct urb *urb); static void generic_shutdown (struct usb_serial *serial); - -#ifdef CONFIG_USB_SERIAL_GENERIC static __u16 vendor = 0x05f9; static __u16 product = 0xffff; +#ifdef CONFIG_USB_SERIAL_GENERIC static struct usb_device_id generic_device_ids[2]; /* Initially all zeroes. */ /* All of the device info needed for the Generic Serial Converter */ -- Stelian Pop <[EMAIL PROTECTED]> |---------------- Free Software Engineer -----------------| | Alc�ve - http://www.alcove.com - Tel: +33 1 49 22 68 00 | |------------- Alc�ve, liberating software ---------------| _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
