summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/lms.c
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1999-08-22 08:16:21 +0000
committerJason Downs <downsj@cvs.openbsd.org>1999-08-22 08:16:21 +0000
commitf31df129831b38e978bd209b675811c080e6a4d4 (patch)
tree245003a00f998080265ae88d30e0e01e1657d3d4 /sys/arch/i386/isa/lms.c
parentd79aa618196d0a490565275773070c84d4c90d94 (diff)
Add noop MOUSEIOCSCOOKED and ENODEV MOUSEIOCSRAW ioctls, as suggested by
Matthieu Herrb.
Diffstat (limited to 'sys/arch/i386/isa/lms.c')
-rw-r--r--sys/arch/i386/isa/lms.c9
1 files changed, 8 insertions, 1 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;