diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-02-16 02:08:05 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-02-16 02:08:05 +0000 |
commit | 7f47e031d0ea64bafd82fddda67000dc56426fc8 (patch) | |
tree | f8631a20d4e441dd911159ad89c226dcd2e7884f /sys/arch/hppa/gsc | |
parent | 4241fa28fefb7d8629a28b063203c78f1ba91fac (diff) |
Provide a wskbd type for gsc keyboards, make gsckbd use it, and take advantage
of it in kbd(8) to work correctly with such a keyboard.
Reminded by maja some time ago.
Diffstat (limited to 'sys/arch/hppa/gsc')
-rw-r--r-- | sys/arch/hppa/gsc/gsckbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/gsc/gsckbd.c b/sys/arch/hppa/gsc/gsckbd.c index 60222b439af..eeca7697d33 100644 --- a/sys/arch/hppa/gsc/gsckbd.c +++ b/sys/arch/hppa/gsc/gsckbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gsckbd.c,v 1.3 2003/02/15 23:42:45 miod Exp $ */ +/* $OpenBSD: gsckbd.c,v 1.4 2003/02/16 02:08:04 miod Exp $ */ /* * Copyright (c) 2003, Miodrag Vallat. * All rights reserved. @@ -527,7 +527,7 @@ gsckbd_ioctl(v, cmd, data, flag, p) switch (cmd) { case WSKBDIO_GTYPE: - *(int *)data = WSKBD_TYPE_PC_XT; + *(int *)data = WSKBD_TYPE_GSC; return 0; case WSKBDIO_SETLEDS: { |