summaryrefslogtreecommitdiffstats
path: root/linux-2.6-serial-460800.patch
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@redhat.com>2012-10-05 10:45:58 -0500
committerJustin M. Forbes <jforbes@redhat.com>2012-10-05 10:45:58 -0500
commitfc85362a27e6f8ea343d1e201a01c311781d2a09 (patch)
tree86ea45763af93caa4d4f41697766226516389a87 /linux-2.6-serial-460800.patch
parent386d01e31aa3706035aaf43037d14154009df22a (diff)
downloadkernel-fc85362a27e6f8ea343d1e201a01c311781d2a09.tar.gz
kernel-fc85362a27e6f8ea343d1e201a01c311781d2a09.tar.xz
kernel-fc85362a27e6f8ea343d1e201a01c311781d2a09.zip
Linux v3.6-6670-gecefbd9
Diffstat (limited to 'linux-2.6-serial-460800.patch')
-rw-r--r--linux-2.6-serial-460800.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-2.6-serial-460800.patch b/linux-2.6-serial-460800.patch
index 979b248d5..0e68378e7 100644
--- a/linux-2.6-serial-460800.patch
+++ b/linux-2.6-serial-460800.patch
@@ -28,14 +28,14 @@ index 2209620..659c1bb 100644
quot = uart_get_divisor(port, baud);
@@ -2240,7 +2251,7 @@ serial8250_set_termios(struct uart_port *port, struct ktermios *termios,
- struct uart_8250_port *up = (struct uart_8250_port *)port;
+ container_of(port, struct uart_8250_port, port);
unsigned char cval, fcr = 0;
unsigned long flags;
- unsigned int baud, quot;
+ unsigned int baud, quot, max_baud;
+ int fifo_bug = 0;
switch (termios->c_cflag & CSIZE) {
- case CS5:
@@ -2272,9 +2283,10 @@ serial8250_set_termios(struct uart_port *port, struct ktermios *termios,
/*
* Ask the core to calculate the divisor for us.