summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-09-14 04:34:54 +0000
committerimp <imp@FreeBSD.org>2001-09-14 04:34:54 +0000
commit273a4d118737104032d8eb40f7480ad85e854228 (patch)
treed8df644e04b0a91e0d6a2502a91eaef06c39ee1c /sys
parent2ccfb935de0cec6e903e4e800a790cdc16989216 (diff)
downloadFreeBSD-src-273a4d118737104032d8eb40f7480ad85e854228.zip
FreeBSD-src-273a4d118737104032d8eb40f7480ad85e854228.tar.gz
Merge changes from sys/i386/isa/mse.c 1.56 and other tweaks for KSE
Reviewed by: julian, kde, jhb
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/pc98/mse.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/pc98/pc98/mse.c b/sys/pc98/pc98/mse.c
index 8bf11ae..4e6933f 100644
--- a/sys/pc98/pc98/mse.c
+++ b/sys/pc98/pc98/mse.c
@@ -457,11 +457,11 @@ mse_detach(dev)
* Exclusive open the mouse, initialize it and enable interrupts.
*/
static int
-mseopen(dev, flags, fmt, p)
+mseopen(dev, flags, fmt, td)
dev_t dev;
int flags;
int fmt;
- struct proc *p;
+ struct thread *td;
{
mse_softc_t *sc;
int s;
@@ -497,11 +497,11 @@ mseopen(dev, flags, fmt, p)
* mseclose: just turn off mouse innterrupts.
*/
static int
-mseclose(dev, flags, fmt, p)
+mseclose(dev, flags, fmt, td)
dev_t dev;
int flags;
int fmt;
- struct proc *p;
+ struct thread *td;
{
mse_softc_t *sc = devclass_get_softc(mse_devclass, MSE_UNIT(dev));
int s;
@@ -588,12 +588,12 @@ mseread(dev, uio, ioflag)
* mseioctl: process ioctl commands.
*/
static int
-mseioctl(dev, cmd, addr, flag, p)
+mseioctl(dev, cmd, addr, flag, td)
dev_t dev;
u_long cmd;
caddr_t addr;
int flag;
- struct proc *p;
+ struct thread *td;
{
mse_softc_t *sc = devclass_get_softc(mse_devclass, MSE_UNIT(dev));
mousestatus_t status;
@@ -705,10 +705,10 @@ mseioctl(dev, cmd, addr, flag, p)
* msepoll: check for mouse input to be processed.
*/
static int
-msepoll(dev, events, p)
+msepoll(dev, events, td)
dev_t dev;
int events;
- struct proc *p;
+ struct thread *td;
{
mse_softc_t *sc = devclass_get_softc(mse_devclass, MSE_UNIT(dev));
int s;
@@ -725,7 +725,7 @@ msepoll(dev, events, p)
* Since this is an exclusive open device, any previous
* proc pointer is trash now, so we can just assign it.
*/
- selrecord(p, &sc->sc_selp);
+ selrecord(td, &sc->sc_selp);
}
}
splx(s);
OpenPOWER on IntegriCloud