Remove 8250 serial driver, enable software watchdog
[openwrt.git] / target / linux / ar7-2.6 / patches / 500-serial_kludge.patch
1 diff -Nru linux-2.6.19.2/drivers/serial/8250.c linux-ar7/drivers/serial/8250.c
2 --- linux-2.6.19.2/drivers/serial/8250.c 2006-12-12 02:32:53.000000000 +0700
3 +++ linux-ar7/drivers/serial/8250.c 2007-02-02 14:25:51.000000000 +0700
4 @@ -2171,6 +2171,9 @@
5 */
6 up->mcr_mask = ~ALPHA_KLUDGE_MCR;
7 up->mcr_force = ALPHA_KLUDGE_MCR;
8 +#ifdef CONFIG_AR7
9 + up->mcr_force |= UART_MCR_RTS;
10 +#endif
11
12 up->port.ops = &serial8250_pops;
13 }
14 @@ -2243,7 +2246,7 @@
15 {
16 struct uart_8250_port *up = (struct uart_8250_port *)port;
17
18 - wait_for_xmitr(up, UART_LSR_THRE);
19 + wait_for_xmitr(up, UART_LSR_TEMT);
20 serial_out(up, UART_TX, ch);
21 }
22
This page took 0.042808 seconds and 5 git commands to generate.