diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-07-31 22:09:38 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-07-31 22:09:38 +0000 |
commit | b9c4b6990c8171b4eafb78a8e7321fa330c287fc (patch) | |
tree | a87538f278e8a56d4bfbe6cb28a5cd69cc7a28fa /sbin/kbd | |
parent | 68cc040551dee91abe21fa67dcad2d799481a877 (diff) |
Now that we can report either LK201 or LK401 as the keyboard type, do the
right thing there.
Diffstat (limited to 'sbin/kbd')
-rw-r--r-- | sbin/kbd/kbd_wscons.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sbin/kbd/kbd_wscons.c b/sbin/kbd/kbd_wscons.c index 9d8b0454a60..657a7db1f58 100644 --- a/sbin/kbd/kbd_wscons.c +++ b/sbin/kbd/kbd_wscons.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kbd_wscons.c,v 1.23 2005/05/07 15:31:23 miod Exp $ */ +/* $OpenBSD: kbd_wscons.c,v 1.24 2006/07/31 22:09:37 miod Exp $ */ /* * Copyright (c) 2001 Mats O Jansson. All rights reserved. @@ -56,7 +56,7 @@ char *kbtype_tab[] = { enum { SA_PCKBD, SA_UKBD, SA_AKBD, - SA_ZSKBD, + SA_LKKBD, SA_SUNKBD, SA_SUN5KBD, SA_HILKBD, @@ -71,7 +71,7 @@ struct nlist nl[] = { { "_pckbd_keydesctab" }, { "_ukbd_keydesctab" }, { "_akbd_keydesctab" }, - { "_zskbd_keydesctab" }, + { "_lkkbd_keydesctab" }, { "_sunkbd_keydesctab" }, { "_sunkbd5_keydesctab" }, { "_hilkbd_keydesctab" }, @@ -206,7 +206,8 @@ kbd_list(void) kbds[SA_AKBD]++; break; case WSKBD_TYPE_LK201: - kbds[SA_ZSKBD]++; + case WSKBD_TYPE_LK401: + kbds[SA_LKKBD]++; break; case WSKBD_TYPE_SUN: kbds[SA_SUNKBD]++; |