diff options
author | 2009-01-11 16:12:14 +0000 | |
---|---|---|
committer | 2009-01-11 16:12:14 +0000 | |
commit | 647bf75ccf22e35694f3b39697f6fb6dc295cc64 (patch) | |
tree | d266f4f84e9955226509137b790108efc0e0f80d /sys/dev/sun/sunkbdvar.h | |
parent | Factor a bit more sunkbd common parts; paves the way for upcoming (diff) | |
download | wireguard-openbsd-647bf75ccf22e35694f3b39697f6fb6dc295cc64.tar.xz wireguard-openbsd-647bf75ccf22e35694f3b39697f6fb6dc295cc64.zip |
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/sun/sunkbdvar.h')
-rw-r--r-- | sys/dev/sun/sunkbdvar.h | 4 |
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; |