PR/31140: Tetsuya Isaki: driver(9) does not describe about kqfilter

This commit is contained in:
elad 2006-10-08 15:44:25 +00:00
parent dcd438d489
commit 75783f892c
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: driver.9,v 1.15 2005/12/20 19:53:15 rpaulo Exp $
.\" $NetBSD: driver.9,v 1.16 2006/10/08 15:44:25 elad Exp $
.\"
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -34,7 +34,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd December 20, 2005
.Dd October 8, 2006
.Dt DRIVER 9
.Os
.Sh NAME
@ -136,9 +136,11 @@ const struct cdevsw foo_cdevsw {
int (*d_read)(dev_t, struct uio *, int);
int (*d_write)(dev_t, struct uio *, int);
int (*d_ioctl)(dev_t, u_long, caddr_t, int, struct lwp *);
void (*d_stop)(struct tty *, int);
struct tty *(*d_tty)(dev_t);
int (*d_poll)(dev_t, int, struct lwp *);
paddr_t (*d_mmap)(dev_t, off_t, int);
int (*d_kqfilter)(dev_t dev, struct knote *kn);
int d_type;
};
.Ed