summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-01-11 16:12:16 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-01-11 16:12:16 +0000
commit0e526b608e92adabcc72c59e7bdcdc35ce1cd4ae (patch)
tree5b74300629ede656269c50d79dc0bc0c1647a637 /sys/dev
parente0da449a4c028352b876410600579b9836e82522 (diff)
Define a limit to the input which can be fed to sunkbd_input() at once,
will be necessary for rawkbd mode.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sun/sunkbdvar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/sun/sunkbdvar.h b/sys/dev/sun/sunkbdvar.h
index 912d276ac40..db0f1efdb3f 100644
--- a/sys/dev/sun/sunkbdvar.h
+++ b/sys/dev/sun/sunkbdvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sunkbdvar.h,v 1.11 2009/01/11 15:53:58 miod Exp $ */
+/* $OpenBSD: sunkbdvar.h,v 1.12 2009/01/11 16:12:15 miod Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
@@ -31,6 +31,8 @@
*
*/
+#define SUNKBD_MAX_INPUT_SIZE 64
+
struct sunkbd_softc {
struct device sc_dev;