diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2001-03-30 16:38:15 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2001-03-30 16:38:15 +0000 |
commit | 891dc663e67e5aff1372bf510d37aa7569c67845 (patch) | |
tree | 371b486f7c430ac8fa2e8d3421e048ed7f010508 /sys/dev/wscons/wsmouse.c | |
parent | 8e38c2e0360cb1c96dec928389b21d799014f17e (diff) |
Add a new wsmuxop, dissetdisplay, which wsmux uses to disocver whether a mux
device is connected to a display or not. Use it in wsmux_detach_sc(). This
fixes a problem I've been struggling with whereby the machine panics if I
detach a USB keyboard before disconnecting it from wsdisplay.
Diffstat (limited to 'sys/dev/wscons/wsmouse.c')
-rw-r--r-- | sys/dev/wscons/wsmouse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/wscons/wsmouse.c b/sys/dev/wscons/wsmouse.c index 329721dd31b..ba02e11fd54 100644 --- a/sys/dev/wscons/wsmouse.c +++ b/sys/dev/wscons/wsmouse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsmouse.c,v 1.4 2001/02/18 15:18:49 aaron Exp $ */ +/* $OpenBSD: wsmouse.c,v 1.5 2001/03/30 16:38:14 aaron Exp $ */ /* $NetBSD: wsmouse.c,v 1.12 2000/05/01 07:36:58 takemura Exp $ */ /* @@ -166,7 +166,7 @@ cdev_decl(wsmouse); #if NWSMUX > 0 struct wsmuxops wsmouse_muxops = { - wsmouseopen, wsmousedoclose, wsmousedoioctl, 0, 0 + wsmouseopen, wsmousedoclose, wsmousedoioctl, 0, 0, 0 }; #endif |