summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-02-06 21:25:41 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-02-06 21:25:41 +0000
commitdd12d7a7f1c3e3c45bc112cb344d53f3291aaa0d (patch)
tree5cd070cb963af66b3f2c881073ded62efe893a93 /sys
parentfac0a3823b7611469a76f5cafde3a6926a07a81d (diff)
Attach a wskbd device for unknown adb mapped devices, just in case we lack
one keyboard id.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/adb/akbd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/adb/akbd.c b/sys/dev/adb/akbd.c
index 18d8434415e..1b37910e2a0 100644
--- a/sys/dev/adb/akbd.c
+++ b/sys/dev/adb/akbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: akbd.c,v 1.1 2006/01/18 23:21:17 miod Exp $ */
+/* $OpenBSD: akbd.c,v 1.2 2006/02/06 21:25:40 miod Exp $ */
/* $NetBSD: akbd.c,v 1.17 2005/01/15 16:00:59 chs Exp $ */
/*
@@ -227,7 +227,9 @@ akbdattach(struct device *parent, struct device *self, void *aux)
break;
default:
printf("mapped device (%d)\n", sc->handler_id);
+#if 0
wskbd_eligible = 0;
+#endif
break;
}
error = set_adb_info(&adbinfo, sc->adbaddr);