patch-2.3.99-pre9 linux/drivers/char/sx.c
Next file: linux/drivers/char/tda7432.c
Previous file: linux/drivers/char/sh-sci.h
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Sat May 20 10:51:00 2000
- Orig file:
v2.3.99-pre8/linux/drivers/char/sx.c
- Orig date:
Thu May 11 15:30:07 2000
diff -u --recursive --new-file v2.3.99-pre8/linux/drivers/char/sx.c linux/drivers/char/sx.c
@@ -1079,7 +1079,7 @@
struct tty_struct *tty;
int copied=0;
- /* func_enter2 (); */
+ func_enter2 ();
tty = port->gs.tty;
while (1) {
rx_op = sx_read_channel_byte (port, hi_rxopos);
@@ -1134,7 +1134,7 @@
/* tty_schedule_flip (tty); */
}
- /* func_exit (); */
+ func_exit ();
}
/* Inlined: it is called only once. Remove the inline if you add another
@@ -2343,6 +2343,12 @@
#ifdef NEW_WRITE_LOCKING
port->gs.port_write_sem = MUTEX;
#endif
+ /*
+ * Initializing wait queue
+ */
+ init_waitqueue_head(&port->gs.open_wait);
+ init_waitqueue_head(&port->gs.close_wait);
+
port++;
}
}
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])