summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-04-25 00:31:24 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-04-25 00:31:24 +0000
commit4bd61bf53c7c58a917150739cc42ae4db55ec3ef (patch)
tree27edc322986e21668f1a35ecb4c3b1b3d97ba4be
parent4cc0a6fdfda15092c1dd00ad150b791ce0aa6b43 (diff)
print keyboard type; mho@stacken.kth.se
-rw-r--r--sys/arch/sparc/dev/kbd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/kbd.c b/sys/arch/sparc/dev/kbd.c
index b1914a7b09b..1637ed844ff 100644
--- a/sys/arch/sparc/dev/kbd.c
+++ b/sys/arch/sparc/dev/kbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kbd.c,v 1.7 1997/09/17 06:47:10 downsj Exp $ */
+/* $OpenBSD: kbd.c,v 1.8 1998/04/25 00:31:23 deraadt Exp $ */
/* $NetBSD: kbd.c,v 1.28 1997/09/13 19:12:18 pk Exp $ */
/*
@@ -300,6 +300,8 @@ kbdattach(kbd)
printf("kbd: reset failed\n");
kbd_reset(&kbd_softc.k_state);
}
+ printf("kbd: type = %d, layout = %d\n",
+ kbd_softc.k_state.kbd_id, kbd_softc.k_state.kbd_layout);
}
}