patch-2.1.15 linux/drivers/char/tty_io.c

Next file: linux/drivers/char/tty_ioctl.c
Previous file: linux/drivers/char/tpqic02.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.14/linux/drivers/char/tty_io.c linux/drivers/char/tty_io.c
@@ -705,7 +705,7 @@
 
 void start_tty(struct tty_struct *tty)
 {
-	if (!tty->stopped)
+	if (!tty->stopped || tty->flow_stopped)
 		return;
 	tty->stopped = 0;
 	if (tty->link && tty->link->packet) {
@@ -1923,6 +1923,9 @@
 		panic("Couldn't register /dev/console driver\n");
 	
 	kbd_init();
+#ifdef CONFIG_ESP  /* init ESP before rs, so rs doesn't see the port */
+	esp_init();
+#endif
 #ifdef CONFIG_SERIAL
 	rs_init();
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov