restore 2.6.23 support for rb532. 2.6.24 is 100% broken and was only added accidentally
[openwrt/svn-archive/archive.git] / target / linux / rb532 / patches-2.6.23 / 220-serial_fix.patch
1 Index: linux-2.6.23.17/drivers/serial/8250.c
2 ===================================================================
3 --- linux-2.6.23.17.orig/drivers/serial/8250.c
4 +++ linux-2.6.23.17/drivers/serial/8250.c
5 @@ -433,6 +433,13 @@ serial_out(struct uart_8250_port *up, in
6 default:
7 outb(value, up->port.iobase + offset);
8 }
9 +
10 +#if defined(CONFIG_IDT_EB434) || defined(CONFIG_MIKROTIK_RB500)
11 + __SLOW_DOWN_IO;
12 + __SLOW_DOWN_IO;
13 + __SLOW_DOWN_IO;
14 + __SLOW_DOWN_IO;
15 +#endif
16 }
17
18 static void