Index: conf.h =================================================================== RCS file: /home/imp/FreeBSD/CVS/src/sys/sys/conf.h,v retrieving revision 1.103.2.2 diff -u -r1.103.2.2 conf.h --- conf.h 2001/07/24 09:49:43 1.103.2.2 +++ conf.h 2001/09/27 23:21:30 @@ -100,18 +100,19 @@ struct uio; struct knote; -typedef int d_open_t __P((dev_t dev, int oflags, int devtype, struct proc *p)); -typedef int d_close_t __P((dev_t dev, int fflag, int devtype, struct proc *p)); +typedef struct proc d_thread_t; +typedef int d_open_t __P((dev_t dev, int oflags, int devtype, d_thread_t *p)); +typedef int d_close_t __P((dev_t dev, int fflag, int devtype, d_thread_t *p)); typedef void d_strategy_t __P((struct buf *bp)); typedef int d_parms_t __P((dev_t dev, struct specinfo *sinfo, int ctl)); typedef int d_ioctl_t __P((dev_t dev, u_long cmd, caddr_t data, - int fflag, struct proc *p)); + int fflag, d_thread_t *p)); typedef int d_dump_t __P((dev_t dev)); typedef int d_psize_t __P((dev_t dev)); typedef int d_read_t __P((dev_t dev, struct uio *uio, int ioflag)); typedef int d_write_t __P((dev_t dev, struct uio *uio, int ioflag)); -typedef int d_poll_t __P((dev_t dev, int events, struct proc *p)); +typedef int d_poll_t __P((dev_t dev, int events, d_thread_t *p)); typedef int d_kqfilter_t __P((dev_t dev, struct knote *kn)); typedef int d_mmap_t __P((dev_t dev, vm_offset_t offset, int nprot)); @@ -120,7 +121,7 @@ typedef int l_read_t __P((struct tty *tp, struct uio *uio, int flag)); typedef int l_write_t __P((struct tty *tp, struct uio *uio, int flag)); typedef int l_ioctl_t __P((struct tty *tp, u_long cmd, caddr_t data, - int flag, struct proc *p)); + int flag, d_thread_t *p)); typedef int l_rint_t __P((int c, struct tty *tp)); typedef int l_start_t __P((struct tty *tp)); typedef int l_modem_t __P((struct tty *tp, int flag));