projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't broke other archs, we're close to mainstream (i hope)
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
ar7
/
patches-2.6.22
/
500-serial_kludge.patch
diff --git
a/target/linux/ar7/patches-2.6.22/500-serial_kludge.patch
b/target/linux/ar7/patches-2.6.22/500-serial_kludge.patch
index c6bd3a77845d37f44b830b95f40f181304a5df97..c8f06a14406c3adbf9fc606f91202945d0544e82 100644
(file)
--- a/
target/linux/ar7/patches-2.6.22/500-serial_kludge.patch
+++ b/
target/linux/ar7/patches-2.6.22/500-serial_kludge.patch
@@
-15,12
+15,15
@@
diff -urN linux-2.6.22.orig/drivers/serial/8250.c linux-2.6.22/drivers/serial/82
};
#if defined (CONFIG_SERIAL_8250_AU1X00)
};
#if defined (CONFIG_SERIAL_8250_AU1X00)
-@@ -24
36,7 +2443,7
@@
+@@ -24
53,7 +2453,11
@@
{
struct uart_8250_port *up = (struct uart_8250_port *)port;
{
struct uart_8250_port *up = (struct uart_8250_port *)port;
-- wait_for_xmitr(up, UART_LSR_THRE);
++#ifdef CONFIG_AR7
+ wait_for_xmitr(up, BOTH_EMPTY);
+ wait_for_xmitr(up, BOTH_EMPTY);
++#else
+ wait_for_xmitr(up, UART_LSR_THRE);
++#endif
serial_out(up, UART_TX, ch);
}
serial_out(up, UART_TX, ch);
}