summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-11-11 16:44:52 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-11-11 16:44:52 +0000
commit2f7c83ece2fc2aa97beb6917f7f68ef1300b129c (patch)
tree6c56290ba1fe10208f2a5dee6b0bef42390e97ed /sys/arch/sparc
parent00b7f38eb00ccedca808a52fa3c2983a6cfa9c68 (diff)
Enable or disable keyclick on attach, based upon the PROM keyboard-click?
property. Tested with type 3 and type 4 keyboards.
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/dev/z8530kbd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/sparc/dev/z8530kbd.c b/sys/arch/sparc/dev/z8530kbd.c
index 8fae7e15eaf..e3406ba96c5 100644
--- a/sys/arch/sparc/dev/z8530kbd.c
+++ b/sys/arch/sparc/dev/z8530kbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: z8530kbd.c,v 1.7 2005/05/14 15:25:17 miod Exp $ */
+/* $OpenBSD: z8530kbd.c,v 1.8 2005/11/11 16:44:48 miod Exp $ */
/* $NetBSD: z8530tty.c,v 1.77 2001/05/30 15:24:24 lukem Exp $ */
/*-
@@ -386,9 +386,6 @@ zskbd_attach(parent, self, aux)
return;
}
- /*
- * XXX should provide a method to change keyclick setting
- */
ss->sc_click = 0;
#if defined(SUN4C) || defined(SUN4M)
if (!CPU_ISSUN4) {
@@ -398,6 +395,7 @@ zskbd_attach(parent, self, aux)
ss->sc_click = 1;
}
#endif
+ sunkbd_setclick(ss, ss->sc_click);
a.console = console;
if (ISTYPE5(ss->sc_layout)) {