summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1994-10-19 21:38:19 +0000
committerBruce Evans <bde@FreeBSD.org>1994-10-19 21:38:19 +0000
commit633295cda7a454fa7a8330d464e7fc827e0102ce (patch)
tree355e86132a1ec3206f2c10816a8342faefeeb6f2
parent9118d452d7847c8d88d8a2639067c62d0b525155 (diff)
Notes
-rw-r--r--sys/dev/sio/sio.c6
-rw-r--r--sys/i386/isa/sio.c6
-rw-r--r--sys/isa/sio.c6
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 6356c83548af..1f359c211b21 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -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);
diff --git a/sys/i386/isa/sio.c b/sys/i386/isa/sio.c
index 6356c83548af..1f359c211b21 100644
--- a/sys/i386/isa/sio.c
+++ b/sys/i386/isa/sio.c
@@ -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);
diff --git a/sys/isa/sio.c b/sys/isa/sio.c
index 6356c83548af..1f359c211b21 100644
--- a/sys/isa/sio.c
+++ b/sys/isa/sio.c
@@ -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);