diff options
Diffstat (limited to 'sys/dev/mse/mse.c')
-rw-r--r-- | sys/dev/mse/mse.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/mse/mse.c b/sys/dev/mse/mse.c index d907e4c..6579de2 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; { |