Clean up previous commit.

This commit is contained in:
bde 1994-10-19 21:38:19 +00:00
parent 894978397c
commit d93184c66c
3 changed files with 9 additions and 9 deletions

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* $Id: sio.c,v 1.54 1994/10/12 19:49:11 bde Exp $
* $Id: sio.c,v 1.55 1994/10/15 18:05:25 ache Exp $
*/
#include "sio.h"
@ -876,9 +876,9 @@ sioclose(dev, flag, mode, p)
com = com_addr(MINOR_TO_UNIT(mynor));
tp = com->tp;
s = spltty();
timeout((timeout_func_t)wakeup, (caddr_t)&tp->t_outq, 60*hz);
timeout(wakeup, TSA_OCOMPLETE(tp), 60 * hz);
(*linesw[tp->t_line].l_close)(tp, flag);
untimeout((timeout_func_t)wakeup, (caddr_t)&tp->t_outq);
untimeout(wakeup, TSA_OCOMPLETE(tp));
siostop(tp, FREAD | FWRITE);
comhardclose(com);
ttyclose(tp);

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* $Id: sio.c,v 1.54 1994/10/12 19:49:11 bde Exp $
* $Id: sio.c,v 1.55 1994/10/15 18:05:25 ache Exp $
*/
#include "sio.h"
@ -876,9 +876,9 @@ sioclose(dev, flag, mode, p)
com = com_addr(MINOR_TO_UNIT(mynor));
tp = com->tp;
s = spltty();
timeout((timeout_func_t)wakeup, (caddr_t)&tp->t_outq, 60*hz);
timeout(wakeup, TSA_OCOMPLETE(tp), 60 * hz);
(*linesw[tp->t_line].l_close)(tp, flag);
untimeout((timeout_func_t)wakeup, (caddr_t)&tp->t_outq);
untimeout(wakeup, TSA_OCOMPLETE(tp));
siostop(tp, FREAD | FWRITE);
comhardclose(com);
ttyclose(tp);

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* $Id: sio.c,v 1.54 1994/10/12 19:49:11 bde Exp $
* $Id: sio.c,v 1.55 1994/10/15 18:05:25 ache Exp $
*/
#include "sio.h"
@ -876,9 +876,9 @@ sioclose(dev, flag, mode, p)
com = com_addr(MINOR_TO_UNIT(mynor));
tp = com->tp;
s = spltty();
timeout((timeout_func_t)wakeup, (caddr_t)&tp->t_outq, 60*hz);
timeout(wakeup, TSA_OCOMPLETE(tp), 60 * hz);
(*linesw[tp->t_line].l_close)(tp, flag);
untimeout((timeout_func_t)wakeup, (caddr_t)&tp->t_outq);
untimeout(wakeup, TSA_OCOMPLETE(tp));
siostop(tp, FREAD | FWRITE);
comhardclose(com);
ttyclose(tp);