only do hotplug2 init if hotplug2 is present
[openwrt.git] / target / linux / rb532 / patches / 220-serial_fix.patch
1 diff -urN linux.old/drivers/serial/8250.c linux.dev/drivers/serial/8250.c
2 --- linux.old/drivers/serial/8250.c 2006-06-08 20:21:20.000000000 +0200
3 +++ linux.dev/drivers/serial/8250.c 2006-06-08 20:19:40.000000000 +0200
4 @@ -351,6 +351,13 @@
5 default:
6 outb(value, up->port.iobase + offset);
7 }
8 +
9 +#if defined(CONFIG_IDT_EB434) || defined(CONFIG_MIKROTIK_RB500)
10 + __SLOW_DOWN_IO;
11 + __SLOW_DOWN_IO;
12 + __SLOW_DOWN_IO;
13 + __SLOW_DOWN_IO;
14 +#endif
15 }
16
17 /*
18
This page took 0.045403 seconds and 5 git commands to generate.