mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-09 04:51:55 +02:00
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
This commit is contained in:
parent
bc151c9dac
commit
207b52f838
@ -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)
|
||||||
@@ -2436,7 +2443,7 @@
|
@@ -2453,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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user