summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/tc/scc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/alpha/tc/scc.c')
-rw-r--r--sys/arch/alpha/tc/scc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/alpha/tc/scc.c b/sys/arch/alpha/tc/scc.c
index b8fdf3a5e18..a5a47265404 100644
--- a/sys/arch/alpha/tc/scc.c
+++ b/sys/arch/alpha/tc/scc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scc.c,v 1.25 2009/11/09 17:53:38 nicm Exp $ */
+/* $OpenBSD: scc.c,v 1.26 2010/04/12 12:57:51 tedu Exp $ */
/* $NetBSD: scc.c,v 1.58 2002/03/17 19:40:27 atatat Exp $ */
/*
@@ -498,7 +498,7 @@ sccopen(dev, flag, mode, p)
splx(s);
if (error)
return (error);
- error = (*linesw[tp->t_line].l_open)(dev, tp);
+ error = (*linesw[tp->t_line].l_open)(dev, tp, p);
return (error);
}
@@ -520,7 +520,7 @@ sccclose(dev, flag, mode, p)
sc->scc_wreg[line].wr5 &= ~ZSWR5_BREAK;
ttyoutput(0, tp);
}
- (*linesw[tp->t_line].l_close)(tp, flag);
+ (*linesw[tp->t_line].l_close)(tp, flag, p);
if ((tp->t_cflag & HUPCL) || (tp->t_state & TS_WOPEN) ||
!(tp->t_state & TS_ISOPEN))
(void) sccmctl(sc, line, 0, DMSET);