aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mse/mse.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-10-22 05:58:45 +0000
committerBruce Evans <bde@FreeBSD.org>1998-10-22 05:58:45 +0000
commitfe310de802ddb8e453de4e7fd7e7d6302d071905 (patch)
tree65beace35d77f90e6033287861af9d0100eb75c9 /sys/dev/mse/mse.c
parenta782a31edc506a454d032c6f3f87236d04042163 (diff)
Notes
Diffstat (limited to 'sys/dev/mse/mse.c')
-rw-r--r--sys/dev/mse/mse.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/mse/mse.c b/sys/dev/mse/mse.c
index d907e4c0ac8e9..6579de2d6a2a2 100644
--- a/sys/dev/mse/mse.c
+++ b/sys/dev/mse/mse.c
@@ -11,7 +11,7 @@
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
*
- * $Id: mse.c,v 1.37 1998/01/24 02:54:22 eivind Exp $
+ * $Id: mse.c,v 1.38 1998/06/07 17:10:47 dfr Exp $
*/
/*
* Driver for the Logitech and ATI Inport Bus mice for use with 386bsd and
@@ -87,6 +87,7 @@ static struct cdevsw mse_cdevsw =
mseioctl, nostop, nullreset, nodevtotty,/* mse */
msepoll, nommap, NULL, "mse", NULL, -1 };
+static ointhand2_t mseintr;
/*
* Software control structure for mouse. The sc_enablemouse(),
@@ -257,6 +258,7 @@ mseattach(idp)
int unit = idp->id_unit;
struct mse_softc *sc = &mse_sc[unit];
+ idp->id_ointr = mseintr;
sc->sc_port = idp->id_iobase;
sc->mode.accelfactor = (idp->id_flags & MSE_CONFIG_ACCEL) >> 4;
#ifdef DEVFS
@@ -546,7 +548,7 @@ msepoll(dev, events, p)
/*
* mseintr: update mouse status. sc_deltax and sc_deltay are accumulative.
*/
-void
+static void
mseintr(unit)
int unit;
{