diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-05-19 13:44:11 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-05-19 13:44:11 +0000 |
commit | dfe741470a20d34fe482c94dae97ea99317dac4f (patch) | |
tree | 8ae84a0d3adf204fa7478c12d44ca550a0466472 /target/linux/generic-2.4/patches/801-usb_serial_endpoint_size.patch | |
parent | 2e6536f7293cab817c990f2672a51d57fae203eb (diff) | |
download | mtk-20170518-dfe741470a20d34fe482c94dae97ea99317dac4f.zip mtk-20170518-dfe741470a20d34fe482c94dae97ea99317dac4f.tar.gz mtk-20170518-dfe741470a20d34fe482c94dae97ea99317dac4f.tar.bz2 |
refresh generic-2.4 patches
SVN-Revision: 11213
Diffstat (limited to 'target/linux/generic-2.4/patches/801-usb_serial_endpoint_size.patch')
-rw-r--r-- | target/linux/generic-2.4/patches/801-usb_serial_endpoint_size.patch | 10 |
1 files changed, 5 insertions, 5 deletions
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 035d5bd..5cc0d84 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,8 +1,8 @@ Index: linux-2.4.35.4/drivers/usb/serial/usbserial.c =================================================================== ---- linux-2.4.35.4.orig/drivers/usb/serial/usbserial.c 2007-12-15 05:19:36.542503478 +0100 -+++ linux-2.4.35.4/drivers/usb/serial/usbserial.c 2007-12-15 05:20:13.496609372 +0100 -@@ -331,6 +331,7 @@ +--- linux-2.4.35.4.orig/drivers/usb/serial/usbserial.c ++++ linux-2.4.35.4/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; @@ -10,7 +10,7 @@ Index: linux-2.4.35.4/drivers/usb/serial/usbserial.c 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; } @@ -22,7 +22,7 @@ Index: linux-2.4.35.4/drivers/usb/serial/usbserial.c port->bulk_in_endpointAddress = endpoint->bEndpointAddress; port->bulk_in_buffer = kmalloc (buffer_size, GFP_KERNEL); if (!port->bulk_in_buffer) { -@@ -1921,4 +1926,7 @@ +@@ -1921,4 +1926,7 @@ MODULE_PARM_DESC(vendor, "User specified MODULE_PARM(product, "h"); MODULE_PARM_DESC(product, "User specified USB idProduct"); |