summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2008-11-27 00:21:27 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2008-11-27 00:21:27 +0000
commit5871ad9f6533a8594cbccf4016e952f96dba4962 (patch)
tree44299008bdeb1b768e2a0f71162271b29e0c4fee
parent120537a1551ad0da98c620d6881bdc84593e87b5 (diff)
better.
-rw-r--r--sys/arch/arm/s3c2xx0/sscom.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/arm/s3c2xx0/sscom.c b/sys/arch/arm/s3c2xx0/sscom.c
index 67d665f8fa4..487ee5e8ef7 100644
--- a/sys/arch/arm/s3c2xx0/sscom.c
+++ b/sys/arch/arm/s3c2xx0/sscom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sscom.c,v 1.1 2008/11/26 14:39:14 drahn Exp $ */
+/* $OpenBSD: sscom.c,v 1.2 2008/11/27 00:21:26 drahn Exp $ */
/* $NetBSD: sscom.c,v 1.29 2008/06/11 22:37:21 cegger Exp $ */
/*
@@ -685,8 +685,7 @@ sscomopen(dev_t dev, int flag, int mode, struct proc *p)
SET(tp->t_cflag, CRTSCTS);
if (ISSET(sc->sc_swflags, TIOCFLAG_MDMBUF))
SET(tp->t_cflag, MDMBUF);
- /* Make sure sscomparam() will do something. */
- tp->t_ospeed = 0;
+
(void) sscomparam(tp, &tp->t_termios);
tp->t_iflag = TTYDEF_IFLAG;
tp->t_oflag = TTYDEF_OFLAG;