X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/84fc36a44369a6cb2bbcd33b1eb3e76d3e785cdf..cfcce2a247e7f449bf1f5fc28e8ec9f764eaf406:/target/linux/generic-2.4/patches/801-usb_serial_endpoint_size.patch diff --git a/target/linux/generic-2.4/patches/801-usb_serial_endpoint_size.patch b/target/linux/generic-2.4/patches/801-usb_serial_endpoint_size.patch index b0d5facc4..2e436f0fa 100644 --- a/target/linux/generic-2.4/patches/801-usb_serial_endpoint_size.patch +++ b/target/linux/generic-2.4/patches/801-usb_serial_endpoint_size.patch @@ -1,14 +1,14 @@ ---- linux-2.4.34-old/drivers/usb/serial/usbserial.c 2007-08-27 15:32:14.000000000 +0200 -+++ linux-2.4.34-new/drivers/usb/serial/usbserial.c 2007-09-02 14:10:52.000000000 +0200 -@@ -331,6 +331,7 @@ +--- a/drivers/usb/serial/usbserial.c ++++ b/drivers/usb/serial/usbserial.c +@@ -331,6 +331,7 @@ static void generic_shutdown (struct us #ifdef CONFIG_USB_SERIAL_GENERIC static __u16 vendor = 0x05f9; static __u16 product = 0xffff; +static int maxSize = 0; - static struct usb_device_id generic_device_ids[9]; /* Initially all zeroes. */ + static struct usb_device_id generic_device_ids[2]; /* Initially all zeroes. */ -@@ -1557,7 +1558,11 @@ +@@ -1557,7 +1558,11 @@ static void * usb_serial_probe(struct us err("No free urbs available"); goto probe_error; } @@ -20,7 +20,7 @@ port->bulk_in_endpointAddress = endpoint->bEndpointAddress; port->bulk_in_buffer = kmalloc (buffer_size, GFP_KERNEL); if (!port->bulk_in_buffer) { -@@ -1945,4 +1950,7 @@ +@@ -1921,4 +1926,7 @@ MODULE_PARM_DESC(vendor, "User specified MODULE_PARM(product, "h"); MODULE_PARM_DESC(product, "User specified USB idProduct");