- int (*d_open) __P((dev_t dev, int mode, int devtype, struct proc *p));
- int (*d_close) __P((dev_t dev, int fflag, int devtype, struct proc *));
- int (*d_read) __P((dev_t dev, struct uio *uio, int ioflag,
- struct proc *p));
- int (*d_write) __P((dev_t dev, struct uio *uio, int ioflag,
- struct proc *p));
- int (*d_ioctl) __P((dev_t dev, int cmd, caddr_t data, int fflag,
- struct proc *p));
- int (*d_stop) __P((struct tty *tp, int rw));
- int (*d_reset) __P((int uban)); /* XXX */
- struct tty *d_ttys;
- int (*d_select) __P((dev_t dev, int which, struct proc *p));
- int (*d_mmap) __P((dev_t dev, ...));
- int (*d_strategy) __P((struct buf *bp));
+ int (*d_open) __P((dev_t dev, int oflags, int devtype,
+ struct proc *p));
+ int (*d_close) __P((dev_t dev, int fflag, int devtype,
+ struct proc *));
+ int (*d_read) __P((dev_t dev, struct uio *uio, int ioflag,
+ struct proc *p));
+ int (*d_write) __P((dev_t dev, struct uio *uio, int ioflag,
+ struct proc *p));
+ int (*d_ioctl) __P((dev_t dev, int cmd, caddr_t data,
+ int fflag, struct proc *p));
+ int (*d_stop) __P((struct tty *tp, int rw));
+ int (*d_reset) __P((int uban)); /* XXX */
+ struct tty *d_ttys;
+ int (*d_select) __P((dev_t dev, int which, struct proc *p));
+ int (*d_mmap) __P(());
+ int (*d_strategy) __P((struct buf *bp));