projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
include ../h/mx.h for lint's sake
[unix-history]
/
usr
/
src
/
sys
/
kern
/
tty.c
diff --git
a/usr/src/sys/kern/tty.c
b/usr/src/sys/kern/tty.c
index
f525093
..
4024cdc
100644
(file)
--- a/
usr/src/sys/kern/tty.c
+++ b/
usr/src/sys/kern/tty.c
@@
-1,4
+1,4
@@
-/* tty.c
3.19
%G% */
+/* tty.c
4.2
%G% */
/*
* TTY subroutines common to more than one line discipline
/*
* TTY subroutines common to more than one line discipline
@@
-197,6
+197,7
@@
register struct tty *tp;
/*
* Common code for tty ioctls.
*/
/*
* Common code for tty ioctls.
*/
+/*ARGSUSED*/
ttioctl(com, tp, addr, dev, flag)
register struct tty *tp;
caddr_t addr;
ttioctl(com, tp, addr, dev, flag)
register struct tty *tp;
caddr_t addr;
@@
-315,6
+316,9
@@
caddr_t addr;
wflushtty(tp);
while (canon(tp)>=0)
;
wflushtty(tp);
while (canon(tp)>=0)
;
+#ifdef notdef
+ wakeup((caddr_t)&tp->t_rawq);
+#endif
} else if (tp->t_line == NTTYDISC) {
if (tp->t_flags&RAW || iocb.sg_flags&RAW ||
com == TIOCSETP)
} else if (tp->t_line == NTTYDISC) {
if (tp->t_flags&RAW || iocb.sg_flags&RAW ||
com == TIOCSETP)
@@
-329,9
+333,11
@@
caddr_t addr;
tp->t_local |= LPENDIN;
if (tp->t_canq.c_cc)
panic("ioccom canq");
tp->t_local |= LPENDIN;
if (tp->t_canq.c_cc)
panic("ioccom canq");
+#ifdef notdef
if (tp->t_chan)
(void) sdata(tp->t_chan);
else
if (tp->t_chan)
(void) sdata(tp->t_chan);
else
+#endif
wakeup((caddr_t)&tp->t_rawq);
}
}
wakeup((caddr_t)&tp->t_rawq);
}
}