summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/spif.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/spif.c')
-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;