From 73ed0e5c02f4909688a40974d9bb8086b01f22c5 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 31 Dec 2005 21:22:36 +0000 Subject: Split the d_type field of cdevsw entries into d_type and d_flags for clarity. Discussed with and ok deraadt@ millert@ --- sys/arch/i386/include/conf.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/i386') diff --git a/sys/arch/i386/include/conf.h b/sys/arch/i386/include/conf.h index 33276008ce1..cbf6a0b33cc 100644 --- a/sys/arch/i386/include/conf.h +++ b/sys/arch/i386/include/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.11 2005/06/02 20:09:39 tholo Exp $ */ +/* $OpenBSD: conf.h,v 1.12 2005/12/31 21:22:34 miod Exp $ */ /* $NetBSD: conf.h,v 1.2 1996/05/05 19:28:34 christos Exp $ */ /* @@ -53,13 +53,13 @@ cdev_decl(pc); dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \ (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \ (dev_type_stop((*))) enodev, 0, (dev_type_poll((*))) enodev, \ - (dev_type_mmap((*))) enodev, D_KQFILTER, dev_init(c,n,kqfilter) } + (dev_type_mmap((*))) enodev, 0, D_KQFILTER, dev_init(c,n,kqfilter) } #define cdev_acpi_init(c,n) {\ dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \ (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \ (dev_type_stop((*))) enodev, 0, (dev_type_poll((*))) enodev, \ - (dev_type_mmap((*))) enodev, D_KQFILTER, dev_init(c,n,kqfilter) } + (dev_type_mmap((*))) enodev, 0, D_KQFILTER, dev_init(c,n,kqfilter) } cdev_decl(spkr); -- cgit v1.2.3