summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMats O Jansson <maja@cvs.openbsd.org>2001-06-29 16:22:12 +0000
committerMats O Jansson <maja@cvs.openbsd.org>2001-06-29 16:22:12 +0000
commit14fc7fb0efdc8084e579e03cc63802d7d6de47a2 (patch)
tree50a555767ba8b2609f68666429301a9c9acab52f /sys/arch
parent23702d89ae57f40ec0e03e5f7a94452779051f16 (diff)
Add kbd info for iBook. -moj
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/powerpc/include/adbsys.h3
-rw-r--r--sys/arch/powerpc/mac/akbd.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/adbsys.h b/sys/arch/powerpc/include/adbsys.h
index 7ef4bc7c4a3..3a7b492d1d5 100644
--- a/sys/arch/powerpc/include/adbsys.h
+++ b/sys/arch/powerpc/include/adbsys.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: adbsys.h,v 1.3 2001/06/29 06:07:08 drahn Exp $ */
+/* $OpenBSD: adbsys.h,v 1.4 2001/06/29 16:22:10 maja Exp $ */
/* $NetBSD: adbsys.h,v 1.4 2000/12/19 02:59:24 tsubai Exp $ */
/*-
@@ -120,6 +120,7 @@ typedef struct adb_dev_s{
#define ADB_PBEXTKBD 24
#define ADB_DESIGNKBD 27 /* XXX Needs to be verified XXX */
#define ADB_PBJPKBD 30
+#define ADB_IBITISOKBD 196
#define ADB_PBG3JPKBD 201
/* Interesting mouse handler IDs */
diff --git a/sys/arch/powerpc/mac/akbd.c b/sys/arch/powerpc/mac/akbd.c
index 08483ea8b44..e2967f7e8f8 100644
--- a/sys/arch/powerpc/mac/akbd.c
+++ b/sys/arch/powerpc/mac/akbd.c
@@ -227,6 +227,8 @@ akbdattach(parent, self, aux)
case ADB_PBG3JPKBD:
printf("PowerBook G3 keyboard (Japanese layout)\n");
break;
+ case ADB_IBITISOKBD:
+ printf("iBook keyboard with inverted T (ISO layout)\n");
default:
printf("mapped device (%d)\n", sc->handler_id);
break;