summaryrefslogtreecommitdiffstats
path: root/target/linux/ar7
diff options
context:
space:
mode:
authormatteo <matteo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-14 20:26:54 +0000
committermatteo <matteo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-14 20:26:54 +0000
commit207b52f8381b7d38f66a9c3cf05818fc28699258 (patch)
tree9c3bcdcaa5d7b68fe964771980c951bd513b2605 /target/linux/ar7
parentbc151c9dac1f239c5cc8a5c691c3a60a3857cf6a (diff)
don't broke other archs, we're close to mainstream (i hope)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8778 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7')
-rw-r--r--target/linux/ar7/patches-2.6.22/500-serial_kludge.patch7
1 files changed, 5 insertions, 2 deletions
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 c6bd3a778..c8f06a144 100644
--- 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)
-@@ -2436,7 +2443,7 @@
+@@ -2453,7 +2453,11 @@
{
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);
++#else
+ wait_for_xmitr(up, UART_LSR_THRE);
++#endif
serial_out(up, UART_TX, ch);
}