rpms/kernel/F-11 linux-2.6-drivers-char-low-latency-removal.patch, 1.3, 1.4 kernel.spec, 1.1691, 1.1692
Kyle McMartin
kyle at fedoraproject.org
Mon Aug 10 19:32:52 UTC 2009
Author: kyle
Update of /cvs/pkgs/rpms/kernel/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29575
Modified Files:
kernel.spec
Added Files:
linux-2.6-drivers-char-low-latency-removal.patch
Log Message:
linux-2.6-drivers-char-low-latency-removal.patch
linux-2.6-drivers-char-low-latency-removal.patch:
mxser.c | 2 --
nozomi.c | 2 --
2 files changed, 4 deletions(-)
Index: linux-2.6-drivers-char-low-latency-removal.patch
===================================================================
RCS file: linux-2.6-drivers-char-low-latency-removal.patch
diff -N linux-2.6-drivers-char-low-latency-removal.patch
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ linux-2.6-drivers-char-low-latency-removal.patch 10 Aug 2009 19:32:52 -0000 1.4
@@ -0,0 +1,29 @@
+From: Chuck Ebbert <cebbert at redhat.com>
+Remove low_latency flag setting from nozomi and mxser drivers
+
+The kernel oopses if this flag is set.
+
+Signed-off-by: Chuck Ebbert <cebbert at redhat.com>
+
+--- linux-2.6.30.noarch.orig/drivers/char/nozomi.c
++++ linux-2.6.30.noarch/drivers/char/nozomi.c
+@@ -1591,8 +1591,6 @@ static int ntty_open(struct tty_struct *
+
+ /* Enable interrupt downlink for channel */
+ if (port->port.count == 1) {
+- /* FIXME: is this needed now ? */
+- tty->low_latency = 1;
+ tty->driver_data = port;
+ tty_port_tty_set(&port->port, tty);
+ DBG1("open: %d", port->token_dl);
+--- linux-2.6.30.noarch.orig/drivers/char/mxser.c
++++ linux-2.6.30.noarch/drivers/char/mxser.c
+@@ -1048,8 +1048,6 @@ static int mxser_open(struct tty_struct
+ if (retval)
+ return retval;
+
+- /* unmark here for very high baud rate (ex. 921600 bps) used */
+- tty->low_latency = 1;
+ return 0;
+ }
+
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-11/kernel.spec,v
retrieving revision 1.1691
retrieving revision 1.1692
diff -u -p -r1.1691 -r1.1692
--- kernel.spec 10 Aug 2009 19:25:52 -0000 1.1691
+++ kernel.spec 10 Aug 2009 19:32:51 -0000 1.1692
@@ -621,6 +621,7 @@ Patch450: linux-2.6-input-kill-stupid-me
Patch451: linux-2.6-input-fix-toshiba-hotkeys.patch
Patch460: linux-2.6-serial-460800.patch
+Patch461: linux-2.6-drivers-char-low-latency-removal.patch
Patch510: linux-2.6-silence-noise.patch
Patch530: linux-2.6-silence-fbcon-logo.patch
@@ -1211,6 +1212,9 @@ ApplyPatch linux-2.6-input-fix-toshiba-h
# Allow to use 480600 baud on 16C950 UARTs
ApplyPatch linux-2.6-serial-460800.patch
+# fix oops in nozomi drver (#507005) plus two others
+ApplyPatch linux-2.6-drivers-char-low-latency-removal.patch
+
# Silence some useless messages that still get printed with 'quiet'
ApplyPatch linux-2.6-silence-noise.patch
@@ -1861,6 +1865,7 @@ fi
- linux-2.6-kvm-skip-pit-check.patch
- linux-2.6.29-xen-disable-gbpages.patch
- linux-2.6-virtio_blk-dont-bounce-highmem-requests.patch
+ - linux-2.6-drivers-char-low-latency-removal.patch
* Wed Aug 05 2009 Kyle McMartin <kyle at redhat.com>
- Update to released 2.6.30.4.
More information about the fedora-extras-commits
mailing list