initial attempt at cleaning up the bcm63xx stuff
[openwrt.git] / target / linux / aruba-2.6 / patches / 011-ap6x_serial_fix.patch
1 diff -urN linux.old/drivers/serial/8250.c linux.net/drivers/serial/8250.c
2 --- linux.old/drivers/serial/8250.c 2006-01-15 07:16:02.000000000 +0100
3 +++ linux.net/drivers/serial/8250.c 2006-01-30 06:12:30.509342250 +0100
4 @@ -1510,7 +1510,7 @@
5 {
6 struct uart_8250_port *up = (struct uart_8250_port *)port;
7 unsigned long flags;
8 - unsigned char lsr, iir;
9 +// unsigned char lsr, iir;
10 int retval;
11
12 up->capabilities = uart_config[up->port.type].flags;
13 @@ -1615,6 +1615,8 @@
14
15 serial8250_set_mctrl(&up->port, up->port.mctrl);
16
17 +// For some reason this test causes problems on the AP6x serial console
18 +#if 0
19 /*
20 * Do a quick test to see if we receive an
21 * interrupt when we enable the TX irq.
22 @@ -1633,7 +1635,8 @@
23 } else {
24 up->bugs &= ~UART_BUG_TXEN;
25 }
26 -
27 +#endif
28 +
29 spin_unlock_irqrestore(&up->port.lock, flags);
30
31 /*
This page took 0.046175 seconds and 5 git commands to generate.