summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/i386/isa/lms.c9
-rw-r--r--sys/arch/i386/isa/mms.c9
2 files changed, 16 insertions, 2 deletions
diff --git a/sys/arch/i386/isa/lms.c b/sys/arch/i386/isa/lms.c
index 345fd75c5dc..0c4c31d51a9 100644
--- a/sys/arch/i386/isa/lms.c
+++ b/sys/arch/i386/isa/lms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lms.c,v 1.11 1999/01/13 07:26:01 niklas Exp $ */
+/* $OpenBSD: lms.c,v 1.12 1999/08/22 08:16:20 downsj Exp $ */
/* $NetBSD: lms.c,v 1.30 1996/10/21 22:27:41 thorpej Exp $ */
/*-
@@ -289,6 +289,13 @@ lmsioctl(dev, cmd, addr, flag, p)
error = copyout(&info, addr, sizeof(struct mouseinfo));
break;
+ case MOUSEIOCSRAW:
+ error = ENODEV;
+ break;
+
+ case MOUSEIOCSCOOKED: /* Do nothing. */
+ break;
+
default:
error = EINVAL;
break;
diff --git a/sys/arch/i386/isa/mms.c b/sys/arch/i386/isa/mms.c
index 3f747ca4ef4..391d523655c 100644
--- a/sys/arch/i386/isa/mms.c
+++ b/sys/arch/i386/isa/mms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mms.c,v 1.9 1999/01/13 07:26:01 niklas Exp $ */
+/* $OpenBSD: mms.c,v 1.10 1999/08/22 08:16:20 downsj Exp $ */
/* $NetBSD: mms.c,v 1.24 1996/05/12 23:12:18 mycroft Exp $ */
/*-
@@ -265,6 +265,13 @@ mmsioctl(dev, cmd, addr, flag, p)
error = copyout(&info, addr, sizeof(struct mouseinfo));
break;
+ case MOUSEIOCSRAW:
+ error = ENODEV;
+ break;
+
+ case MOUSEIOCSCOOKED: /* Do nothing. */
+ break;
+
default:
error = EINVAL;
break;