diff options
author | Matteo Croce <rootkit85@yahoo.it> | 2007-09-14 20:26:54 +0000 |
---|---|---|
committer | Matteo Croce <rootkit85@yahoo.it> | 2007-09-14 20:26:54 +0000 |
commit | 495ab00a60de5b656efeb4a9c576f18e8c73a711 (patch) | |
tree | ebf87412edbf14f937a29cb9ac0ecb9ba2ae1bc2 | |
parent | fa38113807074da29545502a42d5f0885f6e3049 (diff) | |
download | mtk-20170518-495ab00a60de5b656efeb4a9c576f18e8c73a711.zip mtk-20170518-495ab00a60de5b656efeb4a9c576f18e8c73a711.tar.gz mtk-20170518-495ab00a60de5b656efeb4a9c576f18e8c73a711.tar.bz2 |
don't broke other archs, we're close to mainstream (i hope)
SVN-Revision: 8778
-rw-r--r-- | target/linux/ar7/patches-2.6.22/500-serial_kludge.patch | 7 |
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 c6bd3a7..c8f06a1 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); } |