summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wscons_callbacks.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-08-05 16:59:58 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-08-05 16:59:58 +0000
commit3506198ba75b83f8209a3f603e787a17a8a72394 (patch)
tree95842fd2245280a57dca6252bd0d93f4448e0d2c /sys/dev/wscons/wscons_callbacks.h
parentabf0e33e77db61eb3b704c1dddd10ac7bc15a477 (diff)
On platforms which do not use wsmux (because they can't have more than one
keyboard at once), force wskbd0 to connect to wsdisplay0 even if they are not console devices.
Diffstat (limited to 'sys/dev/wscons/wscons_callbacks.h')
-rw-r--r--sys/dev/wscons/wscons_callbacks.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/wscons/wscons_callbacks.h b/sys/dev/wscons/wscons_callbacks.h
index 4f2dd2eef35..6d743f342db 100644
--- a/sys/dev/wscons/wscons_callbacks.h
+++ b/sys/dev/wscons/wscons_callbacks.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wscons_callbacks.h,v 1.6 2005/05/15 11:29:15 miod Exp $ */
+/* $OpenBSD: wscons_callbacks.h,v 1.7 2006/08/05 16:59:57 miod Exp $ */
/* $NetBSD: wscons_callbacks.h,v 1.16 2001/11/10 17:14:51 augustss Exp $ */
/*
@@ -54,6 +54,7 @@ void wsdisplay_set_cons_kbd(int (*get)(dev_t),
void (*poll)(dev_t, int),
void (*bell)(dev_t, u_int, u_int, u_int));
void wsdisplay_unset_cons_kbd(void);
+int wsdisplay_set_kbd(struct device *, struct wsevsrc *);
struct wsdisplay_param;
int wsdisplay_param(struct device*, u_long, struct wsdisplay_param*);
@@ -61,4 +62,5 @@ int wsdisplay_param(struct device*, u_long, struct wsdisplay_param*);
* Calls to the keyboard interface from the glue code.
*/
struct wsevsrc *wskbd_set_console_display(struct device *, struct wsevsrc *);
+int wskbd_set_display(struct device *, struct device *);
int wskbd_pickfree(void);