mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
o dpt_control.c is not compiled into the system (commented out in
conf/files) and as a result appears to have been missed in the bulk KSE update of drivers. This change replaces references to proc with thread. It has not been compile-tested.
This commit is contained in:
parent
d1df08b648
commit
28bcc53bf7
1 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue