summaryrefslogtreecommitdiff
path: root/sys/dev/sun/sunkbdvar.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-01-11 15:53:59 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-01-11 15:53:59 +0000
commite0da449a4c028352b876410600579b9836e82522 (patch)
treed6de0657015fbfe385d67c3cc7eb87494bf6269e /sys/dev/sun/sunkbdvar.h
parent891ebaa99d35c349cc9a96ece0b9f25654289ab4 (diff)
Factor a bit more sunkbd common parts; paves the way for upcoming
WSDISPLAY_COMPAT_RAWKBD support.
Diffstat (limited to 'sys/dev/sun/sunkbdvar.h')
-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 e904f7a1707..912d276ac40 100644
--- a/sys/dev/sun/sunkbdvar.h
+++ b/sys/dev/sun/sunkbdvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sunkbdvar.h,v 1.10 2005/11/11 16:44:51 miod Exp $ */
+/* $OpenBSD: sunkbdvar.h,v 1.11 2009/01/11 15:53:58 miod Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
@@ -50,8 +50,10 @@ struct sunkbd_softc {
extern struct wskbd_accessops sunkbd_accessops;
+void sunkbd_attach(struct sunkbd_softc *, struct wskbddev_attach_args *);
void sunkbd_bellstop(void *);
void sunkbd_decode(u_int8_t, u_int *, int *);
+void sunkbd_input(struct sunkbd_softc *, u_int8_t *, u_int);
void sunkbd_raw(struct sunkbd_softc *, u_int8_t);
int sunkbd_setclick(struct sunkbd_softc *, int);