diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-01-30 05:31:42 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-01-30 05:31:42 +0000 |
commit | f6a66561d83ce944166dc6618f09df4b2abb75d2 (patch) | |
tree | 6addfee2cdc4b9a78f65423e41274c0d8b7e2594 /target/linux | |
parent | 5a1b74fb656a37fd285af1982befdcd2a7fbc4b3 (diff) | |
download | upstream-f6a66561d83ce944166dc6618f09df4b2abb75d2.tar.gz upstream-f6a66561d83ce944166dc6618f09df4b2abb75d2.tar.bz2 upstream-f6a66561d83ce944166dc6618f09df4b2abb75d2.zip |
fix serial console on ap60/61
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3073 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/aruba-2.6/patches/011-ap6x_serial_fix.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/aruba-2.6/patches/011-ap6x_serial_fix.patch b/target/linux/aruba-2.6/patches/011-ap6x_serial_fix.patch new file mode 100644 index 0000000000..528d0e90fb --- /dev/null +++ b/target/linux/aruba-2.6/patches/011-ap6x_serial_fix.patch @@ -0,0 +1,31 @@ +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 +@@ -1510,7 +1510,7 @@ + { + struct uart_8250_port *up = (struct uart_8250_port *)port; + unsigned long flags; +- unsigned char lsr, iir; ++// unsigned char lsr, iir; + int retval; + + up->capabilities = uart_config[up->port.type].flags; +@@ -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); + + /* |