Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-2-0]: src/sys/dev/wscons Pull up revision 1.76 (requested by rech...



details:   https://anonhg.NetBSD.org/src/rev/4f0b2978511a
branches:  netbsd-2-0
changeset: 561316:4f0b2978511a
user:      tron <tron%NetBSD.org@localhost>
date:      Mon Jun 07 09:57:29 2004 +0000

description:
Pull up revision 1.76 (requested by recht in ticket #451):
return ENODEV if functions are not compiled in the kernel.

diffstat:

 sys/dev/wscons/wskbd.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 66a912f0f17a -r 4f0b2978511a sys/dev/wscons/wskbd.c
--- a/sys/dev/wscons/wskbd.c    Mon Jun 07 09:54:21 2004 +0000
+++ b/sys/dev/wscons/wskbd.c    Mon Jun 07 09:57:29 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wskbd.c,v 1.73.2.2 2004/06/07 09:48:52 tron Exp $ */
+/* $NetBSD: wskbd.c,v 1.73.2.3 2004/06/07 09:57:29 tron Exp $ */
 
 /*
  * Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wskbd.c,v 1.73.2.2 2004/06/07 09:48:52 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wskbd.c,v 1.73.2.3 2004/06/07 09:57:29 tron Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -1057,6 +1057,10 @@
                ksdp = &sc->sc_scroll_data;
                SETSCROLLMOD(usdp, ksdp, ksdp);
                return (0);
+#else
+       case WSKBDIO_GETSCROLL:
+       case WSKBDIO_SETSCROLL:
+               return ENODEV;
 #endif
 
 #undef SETKEYREPEAT



Home | Main Index | Thread Index | Old Index