Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/i2c Use linux_keymap instead of pckbd keymap



details:   https://anonhg.NetBSD.org/src/rev/9c8d2cee58f1
branches:  trunk
changeset: 826364:9c8d2cee58f1
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Aug 30 00:40:09 2017 +0000

description:
Use linux_keymap instead of pckbd keymap

diffstat:

 sys/dev/i2c/tcakp.c |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r 4058d682a995 -r 9c8d2cee58f1 sys/dev/i2c/tcakp.c
--- a/sys/dev/i2c/tcakp.c       Wed Aug 30 00:39:27 2017 +0000
+++ b/sys/dev/i2c/tcakp.c       Wed Aug 30 00:40:09 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tcakp.c,v 1.2 2017/08/26 22:31:02 jmcneill Exp $ */
+/* $NetBSD: tcakp.c,v 1.3 2017/08/30 00:40:09 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "opt_fdt.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcakp.c,v 1.2 2017/08/26 22:31:02 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcakp.c,v 1.3 2017/08/30 00:40:09 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -46,9 +46,7 @@
 #include <dev/wscons/wskbdvar.h>
 #include <dev/wscons/wsksymdef.h>
 #include <dev/wscons/wsksymvar.h>
-
-/* XXX keymap */
-#include <dev/pckbport/wskbdmap_mfii.c>
+#include <dev/wscons/linux_keymap.h>
 
 #ifdef FDT
 #include <dev/fdt/fdtvar.h>
@@ -317,7 +315,7 @@
 #endif
 
 static const struct wskbd_mapdata tcakp_keymapdata = {
-       pckbd_keydesctab,
+       linux_keymap_keydesctab,
        KB_US,
 };
 



Home | Main Index | Thread Index | Old Index