diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-08-23 18:53:18 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-08-23 18:53:18 +0000 |
commit | 4480a114041b55db8e1866c53fcdc234e5314cde (patch) | |
tree | 56130a121a4199651dfb0a31465c6fb77ad090b0 /sys/arch/amiga/dev/ser.c | |
parent | 52f16f85700c22cbcd144b996d4cf636eac43b6f (diff) |
Merge to late July NetBSD, more to come...
Diffstat (limited to 'sys/arch/amiga/dev/ser.c')
-rw-r--r-- | sys/arch/amiga/dev/ser.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/amiga/dev/ser.c b/sys/arch/amiga/dev/ser.c index 39a22b35178..1d40b2cb402 100644 --- a/sys/arch/amiga/dev/ser.c +++ b/sys/arch/amiga/dev/ser.c @@ -1,5 +1,5 @@ -/* $OpenBSD: ser.c,v 1.4 1996/05/02 06:44:30 niklas Exp $ */ -/* $NetBSD: ser.c,v 1.34 1996/04/27 20:53:31 veego Exp $ */ +/* $OpenBSD: ser.c,v 1.5 1996/08/23 18:53:17 niklas Exp $ */ +/* $NetBSD: ser.c,v 1.34.4.1 1996/06/06 04:53:19 mhitch Exp $ */ /* * Copyright (c) 1982, 1986, 1990 The Regents of the University of California. @@ -251,9 +251,11 @@ seropen(dev, flag, mode, p) if (ser_tty[unit]) tp = ser_tty[unit]; - else + else { tp = ((struct ser_softc *)ser_cd.cd_devs[unit])->ser_tty = ser_tty[unit] = ttymalloc(); + tty_attach(tp); + } tp->t_oproc = (void (*) (struct tty *)) serstart; tp->t_param = serparam; |