Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/arch/macppc/dev Pull up revisions 1.6-1.7 (requeste...



details:   https://anonhg.NetBSD.org/src/rev/fccfb8f12748
branches:  netbsd-1-6
changeset: 530384:fccfb8f12748
user:      grant <grant%NetBSD.org@localhost>
date:      Thu Jun 19 11:38:04 2003 +0000

description:
Pull up revisions 1.6-1.7 (requested by aymeric in ticket #1324):

akbd's now have a raw mode, and implement the WSKBDIO_SETMODE ioctl.
Adapted from OpenBSD.

Remove the key repeating feature.
It is asking for trouble and is useless for the X server.
We can add it back later if need be.

diffstat:

 sys/arch/macppc/dev/akbdvar.h |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r d6acc4ad68e1 -r fccfb8f12748 sys/arch/macppc/dev/akbdvar.h
--- a/sys/arch/macppc/dev/akbdvar.h     Thu Jun 19 11:37:00 2003 +0000
+++ b/sys/arch/macppc/dev/akbdvar.h     Thu Jun 19 11:38:04 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: akbdvar.h,v 1.5 2002/02/24 20:20:20 dbj Exp $  */
+/*     $OpenBSD: akbdvar.h,v 1.3 2002/03/27 21:48:12 drahn Exp $       */
 
 /*
  * Copyright (C) 1998  Colin Wood
@@ -33,6 +33,8 @@
 #ifndef _MACPPC_KBDVAR_H_
 #define _MACPPC_KBDVAR_H_
 
+#include "opt_wsdisplay_compat.h"
+
 #include <machine/adbsys.h>
 
 /*
@@ -52,7 +54,10 @@
        int sc_polling;
        int sc_npolledkeys;
        unsigned char sc_polledkeys[32];
-  
+
+#ifdef WSDISPLAY_COMPAT_RAWKBD
+       int sc_rawkbd;
+#endif
 };
 
 /* LED register bits, inverse of actual register value */



Home | Main Index | Thread Index | Old Index