summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-10-05 15:50:31 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-10-05 15:50:31 +0000
commit4235826857aeaf8904d2833d634eb543741ae006 (patch)
treea457423cf2023d16aefa5245f1f7bcec7ecb911b
parent6a489de4b2eccbdc4421ca442c417f66f4ad0c9e (diff)
oops, forgot to implement TIOCMSET
-rw-r--r--sys/arch/sparc/dev/spif.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/spif.c b/sys/arch/sparc/dev/spif.c
index ad9fcc7f582..9e336e59e4b 100644
--- a/sys/arch/sparc/dev/spif.c
+++ b/sys/arch/sparc/dev/spif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spif.c,v 1.7 2000/06/02 15:53:22 jason Exp $ */
+/* $OpenBSD: spif.c,v 1.8 2001/10/05 15:50:30 jason Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -456,6 +456,9 @@ sttyioctl(dev, cmd, data, flags, p)
case TIOCMGET:
*((int *)data) = stty_modem_control(sp, 0, DMGET);
break;
+ case TIOCMSET:
+ stty_modem_control(sp, *((int *)data), DMSET);
+ break;
case TIOCGFLAGS:
*((int *)data) = sp->sp_openflags;
break;