patch breaks wchar_t-support in libstdc++ since a needless autoconf was disabled...
[openwrt.git] / target / linux / rb532 / patches / 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