rpms/kernel/F-10 linux-2.6-usb-option-increase-outgoing-buffers.patch, NONE, 1.1.2.1 TODO, 1.46, 1.46.2.1 kernel.spec, 1.1206.2.11, 1.1206.2.12

Chuck Ebbert cebbert at fedoraproject.org
Mon Feb 2 23:48:34 UTC 2009


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7752

Modified Files:
      Tag: private-fedora-10-2_6_27
	TODO kernel.spec 
Added Files:
      Tag: private-fedora-10-2_6_27
	linux-2.6-usb-option-increase-outgoing-buffers.patch 
Log Message:
Fix slow data upload with USB wireless modem (#473252)

linux-2.6-usb-option-increase-outgoing-buffers.patch:

--- NEW FILE linux-2.6-usb-option-increase-outgoing-buffers.patch ---
From: Greg Kroah-Hartman <gregkh at suse.de>
Date: Tue, 16 Dec 2008 21:26:07 +0000 (-0800)
Subject: USB: option: increase outgoing buffer size and number
X-Git-Tag: v2.6.29-rc1~182^2~61
X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=f1632df36b9467b75b7abfd2799aef67ec74a60a

USB: option: increase outgoing buffer size and number

This should speed up the option driver's upload speed quite a bit.  It has been tested by a number of different people on different devices with success.

Cc: Roland Wolters <roland.wolters at credativ.de>
Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
---

diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index 4c9497d..5ed1834 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -522,9 +522,9 @@ static int debug;
 /* per port private data */
 
 #define N_IN_URB 4
-#define N_OUT_URB 1
+#define N_OUT_URB 4
 #define IN_BUFLEN 4096
-#define OUT_BUFLEN 128
+#define OUT_BUFLEN 4096
 
 struct option_port_private {
 	/* Input endpoints and buffer for this port */


Index: TODO
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-10/TODO,v
retrieving revision 1.46
retrieving revision 1.46.2.1
diff -u -r1.46 -r1.46.2.1
--- TODO	19 Nov 2008 21:10:44 -0000	1.46
+++ TODO	2 Feb 2009 23:48:03 -0000	1.46.2.1
@@ -185,3 +185,5 @@
 linux-2.6-alsa-ac97-whitelist-AD1981B.patch
 	https://bugzilla.redhat.com/show_bug.cgi?id=441087
 	should be pushed upstream
+
+do we need iwlwifi-intel-bug-1822.patch that was in f-10 2.6.28.3 kernel?


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-10/kernel.spec,v
retrieving revision 1.1206.2.11
retrieving revision 1.1206.2.12
diff -u -r1.1206.2.11 -r1.1206.2.12
--- kernel.spec	2 Feb 2009 18:57:41 -0000	1.1206.2.11
+++ kernel.spec	2 Feb 2009 23:48:03 -0000	1.1206.2.12
@@ -709,6 +709,7 @@
 
 # make USB EHCI driver respect "nousb" parameter
 Patch2300: linux-2.6-usb-ehci-hcd-respect-nousb.patch
+Patch2301: linux-2.6-usb-option-increase-outgoing-buffers.patch
 
 # Add fips_enable flag
 Patch2400: linux-2.6-crypto-fips_enable.patch
@@ -1163,6 +1164,7 @@
 
 # USB
 ApplyPatch linux-2.6-usb-ehci-hcd-respect-nousb.patch
+ApplyPatch linux-2.6-usb-option-increase-outgoing-buffers.patch
 
 # Add the ability to turn FIPS-compliant mode on or off at boot
 ApplyPatch linux-2.6-crypto-fips_enable.patch
@@ -1921,6 +1923,9 @@
 %kernel_variant_files -k vmlinux %{with_kdump} kdump
 
 %changelog
+* Mon Feb 02 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.27.14-170.2.12
+- Fix slow data upload with USB wireless modem (#473252)
+
 * Mon Feb 02 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.27.14-170.2.11
 - 2.6.27.14
 




More information about the fedora-extras-commits mailing list