summaryrefslogtreecommitdiff
path: root/target/linux/rb532/patches-2.6.23/220-serial_fix.patch
blob: 4af6620fb5e1d382d8079f0f071ce99784143fb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Index: linux-2.6.23.17/drivers/serial/8250.c
===================================================================
--- linux-2.6.23.17.orig/drivers/serial/8250.c
+++ linux-2.6.23.17/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