diff options
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r-- | sys/arch/sparc64/dev/pcons.c | 6 | ||||
-rw-r--r-- | sys/arch/sparc64/dev/sab.c | 6 | ||||
-rw-r--r-- | sys/arch/sparc64/dev/sbbc.c | 6 | ||||
-rw-r--r-- | sys/arch/sparc64/dev/vcctty.c | 6 | ||||
-rw-r--r-- | sys/arch/sparc64/dev/vcons.c | 6 | ||||
-rw-r--r-- | sys/arch/sparc64/dev/z8530tty.c | 6 |
6 files changed, 18 insertions, 18 deletions
diff --git a/sys/arch/sparc64/dev/pcons.c b/sys/arch/sparc64/dev/pcons.c index 954b7833d1d..3c63bfe1814 100644 --- a/sys/arch/sparc64/dev/pcons.c +++ b/sys/arch/sparc64/dev/pcons.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcons.c,v 1.16 2009/11/09 17:53:39 nicm Exp $ */ +/* $OpenBSD: pcons.c,v 1.17 2010/04/12 12:57:52 tedu Exp $ */ /* $NetBSD: pcons.c,v 1.7 2001/05/02 10:32:20 scw Exp $ */ /*- @@ -250,7 +250,7 @@ pconsopen(dev, flag, mode, p) timeout_add(&sc->sc_poll_to, 1); } - return (*linesw[tp->t_line].l_open)(dev, tp); + return (*linesw[tp->t_line].l_open)(dev, tp, p); } int @@ -264,7 +264,7 @@ pconsclose(dev, flag, mode, p) timeout_del(&sc->sc_poll_to); sc->of_flags &= ~OFPOLL; - (*linesw[tp->t_line].l_close)(tp, flag); + (*linesw[tp->t_line].l_close)(tp, flag, p); ttyclose(tp); return 0; } diff --git a/sys/arch/sparc64/dev/sab.c b/sys/arch/sparc64/dev/sab.c index 0c26fb2da42..55586f3dff7 100644 --- a/sys/arch/sparc64/dev/sab.c +++ b/sys/arch/sparc64/dev/sab.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sab.c,v 1.27 2009/11/09 17:53:39 nicm Exp $ */ +/* $OpenBSD: sab.c,v 1.28 2010/04/12 12:57:52 tedu Exp $ */ /* * Copyright (c) 2001 Jason L. Wright (jason@thought.net) @@ -725,7 +725,7 @@ sabttyopen(dev, flags, mode, p) splx(s); - s = (*linesw[tp->t_line].l_open)(dev, tp); + s = (*linesw[tp->t_line].l_open)(dev, tp, p); if (s != 0) { if (tp->t_state & TS_ISOPEN) return (s); @@ -755,7 +755,7 @@ sabttyclose(dev, flags, mode, p) struct tty *tp = sc->sc_tty; int s; - (*linesw[tp->t_line].l_close)(tp, flags); + (*linesw[tp->t_line].l_close)(tp, flags, p); s = spltty(); diff --git a/sys/arch/sparc64/dev/sbbc.c b/sys/arch/sparc64/dev/sbbc.c index ef0f070a57b..e10555e3ab5 100644 --- a/sys/arch/sparc64/dev/sbbc.c +++ b/sys/arch/sparc64/dev/sbbc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sbbc.c,v 1.7 2009/11/09 17:53:39 nicm Exp $ */ +/* $OpenBSD: sbbc.c,v 1.8 2010/04/12 12:57:52 tedu Exp $ */ /* * Copyright (c) 2008 Mark Kettenis * @@ -532,7 +532,7 @@ sbbcopen(dev_t dev, int flag, int mode, struct proc *p) return (EBUSY); tp->t_state |= TS_CARR_ON; - return ((*linesw[tp->t_line].l_open)(dev, tp)); + return ((*linesw[tp->t_line].l_open)(dev, tp, p)); } int @@ -549,7 +549,7 @@ sbbcclose(dev_t dev, int flag, int mode, struct proc *p) return (ENXIO); tp = sc->sc_tty; - (*linesw[tp->t_line].l_close)(tp, flag); + (*linesw[tp->t_line].l_close)(tp, flag, p); ttyclose(tp); return (0); } diff --git a/sys/arch/sparc64/dev/vcctty.c b/sys/arch/sparc64/dev/vcctty.c index f43c66f436d..b8177d9e159 100644 --- a/sys/arch/sparc64/dev/vcctty.c +++ b/sys/arch/sparc64/dev/vcctty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vcctty.c,v 1.3 2009/11/09 17:53:39 nicm Exp $ */ +/* $OpenBSD: vcctty.c,v 1.4 2010/04/12 12:57:52 tedu Exp $ */ /* * Copyright (c) 2009 Mark Kettenis * @@ -328,7 +328,7 @@ vccttyopen(dev_t dev, int flag, int mode, struct proc *p) return (EBUSY); tp->t_state |= TS_CARR_ON; - return ((*linesw[tp->t_line].l_open)(dev, tp)); + return ((*linesw[tp->t_line].l_open)(dev, tp, p)); } int @@ -345,7 +345,7 @@ vccttyclose(dev_t dev, int flag, int mode, struct proc *p) return (ENXIO); tp = sc->sc_tty; - (*linesw[tp->t_line].l_close)(tp, flag); + (*linesw[tp->t_line].l_close)(tp, flag, p); ttyclose(tp); return (0); } diff --git a/sys/arch/sparc64/dev/vcons.c b/sys/arch/sparc64/dev/vcons.c index f6fefcfd89d..e17bce33fb3 100644 --- a/sys/arch/sparc64/dev/vcons.c +++ b/sys/arch/sparc64/dev/vcons.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vcons.c,v 1.7 2009/11/09 17:53:39 nicm Exp $ */ +/* $OpenBSD: vcons.c,v 1.8 2010/04/12 12:57:52 tedu Exp $ */ /* * Copyright (c) 2008 Mark Kettenis * @@ -183,7 +183,7 @@ vconsopen(dev_t dev, int flag, int mode, struct proc *p) return (EBUSY); tp->t_state |= TS_CARR_ON; - return ((*linesw[tp->t_line].l_open)(dev, tp)); + return ((*linesw[tp->t_line].l_open)(dev, tp, p)); } int @@ -200,7 +200,7 @@ vconsclose(dev_t dev, int flag, int mode, struct proc *p) return (ENXIO); tp = sc->sc_tty; - (*linesw[tp->t_line].l_close)(tp, flag); + (*linesw[tp->t_line].l_close)(tp, flag, p); ttyclose(tp); return (0); } diff --git a/sys/arch/sparc64/dev/z8530tty.c b/sys/arch/sparc64/dev/z8530tty.c index c4119575ce7..dfa79ac9a47 100644 --- a/sys/arch/sparc64/dev/z8530tty.c +++ b/sys/arch/sparc64/dev/z8530tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: z8530tty.c,v 1.19 2010/03/03 20:13:34 miod Exp $ */ +/* $OpenBSD: z8530tty.c,v 1.20 2010/04/12 12:57:52 tedu Exp $ */ /* $NetBSD: z8530tty.c,v 1.77 2001/05/30 15:24:24 lukem Exp $ */ /*- @@ -666,7 +666,7 @@ zsopen(dev, flags, mode, p) splx(s); if (error == 0) - error = ((*linesw[tp->t_line].l_open)(dev, tp)); + error = ((*linesw[tp->t_line].l_open)(dev, tp, p)); if (error) goto bad; @@ -703,7 +703,7 @@ zsclose(dev, flags, mode, p) if (!ISSET(tp->t_state, TS_ISOPEN)) return 0; - (*linesw[tp->t_line].l_close)(tp, flags); + (*linesw[tp->t_line].l_close)(tp, flags, p); s = spltty(); cs->cs_cua = 0; |