diff options
author | Eugene Konev <ejka@openwrt.org> | 2007-03-18 09:40:51 +0000 |
---|---|---|
committer | Eugene Konev <ejka@openwrt.org> | 2007-03-18 09:40:51 +0000 |
commit | 76430e10b2f89e177c99b3bcde426637ffaf33a2 (patch) | |
tree | fb0fc09dcd691a51fa43e93c3ca1fe4b6ceaaa63 /target/linux/ar7-2.6/patches/500-serial_kludge.patch | |
parent | 61dfb5041b0099053e89f2303224faeb49fa7a9a (diff) | |
download | master-187ad058-76430e10b2f89e177c99b3bcde426637ffaf33a2.tar.gz master-187ad058-76430e10b2f89e177c99b3bcde426637ffaf33a2.tar.bz2 master-187ad058-76430e10b2f89e177c99b3bcde426637ffaf33a2.zip |
Add ar7-2.6 port (marked as broken for now).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6600 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7-2.6/patches/500-serial_kludge.patch')
-rw-r--r-- | target/linux/ar7-2.6/patches/500-serial_kludge.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/ar7-2.6/patches/500-serial_kludge.patch b/target/linux/ar7-2.6/patches/500-serial_kludge.patch new file mode 100644 index 0000000000..b6079517d8 --- /dev/null +++ b/target/linux/ar7-2.6/patches/500-serial_kludge.patch @@ -0,0 +1,22 @@ +diff -Nru linux-2.6.19.2/drivers/serial/8250.c linux-ar7/drivers/serial/8250.c +--- linux-2.6.19.2/drivers/serial/8250.c 2006-12-12 02:32:53.000000000 +0700 ++++ linux-ar7/drivers/serial/8250.c 2007-02-02 14:25:51.000000000 +0700 +@@ -2171,6 +2171,9 @@ + */ + up->mcr_mask = ~ALPHA_KLUDGE_MCR; + up->mcr_force = ALPHA_KLUDGE_MCR; ++#ifdef CONFIG_AR7 ++ up->mcr_force |= UART_MCR_RTS; ++#endif + + up->port.ops = &serial8250_pops; + } +@@ -2243,7 +2246,7 @@ + { + struct uart_8250_port *up = (struct uart_8250_port *)port; + +- wait_for_xmitr(up, UART_LSR_THRE); ++ wait_for_xmitr(up, UART_LSR_TEMT); + serial_out(up, UART_TX, ch); + } + |