aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dpt
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2001-11-05 21:02:26 +0000
committerRobert Watson <rwatson@FreeBSD.org>2001-11-05 21:02:26 +0000
commit28bcc53bf7f22f215a1e7046f3554aa2554425ae (patch)
tree9a72f14c260c2fa3d542be9d257801bfa37728ed /sys/dev/dpt
parentd1df08b6482d2fda34ebe814d45c90b3004eb2a6 (diff)
Notes
Diffstat (limited to 'sys/dev/dpt')
-rw-r--r--sys/dev/dpt/dpt_control.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/dpt/dpt_control.c b/sys/dev/dpt/dpt_control.c
index 15dab4113f33f..f45ef95926450 100644
--- a/sys/dev/dpt/dpt_control.c
+++ b/sys/dev/dpt/dpt_control.c
@@ -69,11 +69,11 @@ static void dpt_unphysmap(u_int8_t * vaddr, vm_size_t size);
static void dpt_get_sysinfo(void);
-static int dpt_open(dev_t dev, int flags, int fmt, struct proc * p);
-static int dpt_close(dev_t dev, int flags, int fmt, struct proc * p);
+static int dpt_open(dev_t dev, int flags, int fmt, struct thread * td);
+static int dpt_close(dev_t dev, int flags, int fmt, struct thread * td);
static int dpt_write(dev_t dev, struct uio * uio, int ioflag);
static int dpt_read(dev_t dev, struct uio * uio, int ioflag);
-static int dpt_ioctl(dev_t dev, u_long cmd, caddr_t cmdarg, int flags, struct proc * p);
+static int dpt_ioctl(dev_t dev, u_long cmd, caddr_t cmdarg, int flags, struct thread * td);
/* This has to be modified as the processor and CPU are not known yet */
@@ -402,7 +402,7 @@ dpt_get_sysinfo(void)
}
static int
-dpt_open(dev_t dev, int flags, int fmt, struct proc * p)
+dpt_open(dev_t dev, int flags, int fmt, struct thread * td)
{
int minor_no;
int ospl;
@@ -441,7 +441,7 @@ dpt_open(dev_t dev, int flags, int fmt, struct proc * p)
}
static int
-dpt_close(dev_t dev, int flags, int fmt, struct proc * p)
+dpt_close(dev_t dev, int flags, int fmt, struct thread * td)
{
int minor_no;
dpt_softc_t *dpt;
@@ -660,7 +660,7 @@ dpt_read(dev_t dev, struct uio * uio, int ioflag)
*/
static int
-dpt_ioctl(dev_t dev, u_long cmd, caddr_t cmdarg, int flags, struct proc * p)
+dpt_ioctl(dev_t dev, u_long cmd, caddr_t cmdarg, int flags, struct thread * td)
{
int minor_no;
dpt_softc_t *dpt;