openwrtv4/target/linux/aruba-2.6/patches/011-ap6x_serial_fix.patch
Imre Kaloz a8d3dc4d94 fix aruba compile for .21
SVN-Revision: 7327
2007-05-24 09:43:58 +00:00

22 lines
604 B
Diff

diff -urN linux.old/drivers/serial/8250.c linux.net/drivers/serial/8250.c
--- linux.old/drivers/serial/8250.c 2006-01-15 07:16:02.000000000 +0100
+++ linux.net/drivers/serial/8250.c 2006-01-30 06:12:30.509342250 +0100
@@ -1615,6 +1615,8 @@
serial8250_set_mctrl(&up->port, up->port.mctrl);
+// For some reason this test causes problems on the AP6x serial console
+#if 0
/*
* Do a quick test to see if we receive an
* interrupt when we enable the TX irq.
@@ -1633,7 +1635,8 @@
} else {
up->bugs &= ~UART_BUG_TXEN;
}
-
+#endif
+
spin_unlock_irqrestore(&up->port.lock, flags);
/*