aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rb532/patches-2.6.24/220-serial_fix.patch
blob: 59194da34d35c12ff98cb51a07e82046985d272d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/drivers/serial/8250.c
+++ b/drivers/serial/8250.c
@@ -433,6 +433,13 @@ serial_out(struct uart_8250_port *up, in
 	default:
 		outb(value, up->port.iobase + offset);
 	}
+
+#if defined(CONFIG_IDT_EB434) || defined(CONFIG_MIKROTIK_RB500)
+	__SLOW_DOWN_IO;
+	__SLOW_DOWN_IO;
+	__SLOW_DOWN_IO;
+	__SLOW_DOWN_IO;
+#endif
 }
 
 static void