diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-16 09:47:26 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-16 09:47:26 +0000 |
| commit | 89c9c53da05197f657dfe8e0bdda6941a2e9a0d4 (patch) | |
| tree | 624c885995e84df6decddd3291c60a15e50e3c85 /sys/dev/mse | |
| parent | d420fcda27350a7e2d3d8f3b2c9de6aa74df2e30 (diff) | |
Notes
Diffstat (limited to 'sys/dev/mse')
| -rw-r--r-- | sys/dev/mse/mse.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/mse/mse.c b/sys/dev/mse/mse.c index ddc0742db2327..31c85f89f1087 100644 --- a/sys/dev/mse/mse.c +++ b/sys/dev/mse/mse.c @@ -96,8 +96,8 @@ typedef struct mse_softc { u_char sc_bytes[MOUSE_SYS_PACKETSIZE]; struct callout_handle sc_callout; int sc_watchdog; - dev_t sc_dev; - dev_t sc_ndev; + struct cdev *sc_dev; + struct cdev *sc_ndev; mousehw_t hw; mousemode_t mode; mousestatus_t status; @@ -386,7 +386,7 @@ mse_detach(dev) */ static int mseopen(dev, flags, fmt, td) - dev_t dev; + struct cdev *dev; int flags; int fmt; struct thread *td; @@ -426,7 +426,7 @@ mseopen(dev, flags, fmt, td) */ static int mseclose(dev, flags, fmt, td) - dev_t dev; + struct cdev *dev; int flags; int fmt; struct thread *td; @@ -450,7 +450,7 @@ mseclose(dev, flags, fmt, td) */ static int mseread(dev, uio, ioflag) - dev_t dev; + struct cdev *dev; struct uio *uio; int ioflag; { @@ -517,7 +517,7 @@ mseread(dev, uio, ioflag) */ static int mseioctl(dev, cmd, addr, flag, td) - dev_t dev; + struct cdev *dev; u_long cmd; caddr_t addr; int flag; @@ -634,7 +634,7 @@ mseioctl(dev, cmd, addr, flag, td) */ static int msepoll(dev, events, td) - dev_t dev; + struct cdev *dev; int events; struct thread *td; { @@ -667,10 +667,10 @@ static void msetimeout(arg) void *arg; { - dev_t dev; + struct cdev *dev; mse_softc_t *sc; - dev = (dev_t)arg; + dev = (struct cdev *)arg; sc = devclass_get_softc(mse_devclass, MSE_UNIT(dev)); if (sc->sc_watchdog) { if (bootverbose) |
