Signed-off-by: Daniel Golle <[email protected]> --- target/linux/ar7/patches-3.3/500-serial_kludge.patch | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/target/linux/ar7/patches-3.3/500-serial_kludge.patch
b/target/linux/ar7/patches-3.3/500-serial_kludge.patch
index 5c19cf2..159fb56 100644
--- a/target/linux/ar7/patches-3.3/500-serial_kludge.patch
+++ b/target/linux/ar7/patches-3.3/500-serial_kludge.patch
@@ -1,5 +1,7 @@
---- a/drivers/tty/serial/8250/8250.c
-+++ b/drivers/tty/serial/8250/8250.c
+Index: linux-3.3.8/drivers/tty/serial/8250/8250.c
+===================================================================
+--- linux-3.3.8.orig/drivers/tty/serial/8250/8250.c
++++ linux-3.3.8/drivers/tty/serial/8250/8250.c
@@ -290,6 +290,13 @@ static const struct serial8250_config ua
.fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
.flags = UART_CAP_FIFO | UART_CAP_AFE | UART_CAP_EFR,
@@ -18,7 +20,7 @@
struct uart_8250_port *up =
container_of(port, struct uart_8250_port, port);
-+#ifdef CONFIG_AR7
++#if defined(CONFIG_AR7) || defined(CONFIG_AC49X)
+ wait_for_xmitr(up, BOTH_EMPTY);
+#else
wait_for_xmitr(up, UART_LSR_THRE);
--
1.7.12.2
pgp0y6CoywKUP.pgp
Description: PGP signature
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
