diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-31 21:22:36 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-31 21:22:36 +0000 |
commit | 73ed0e5c02f4909688a40974d9bb8086b01f22c5 (patch) | |
tree | ad16c18eb39bc329620becf40fc2564e13cf5d45 /sys/arch/i386 | |
parent | bef19611e76eddbba0c90d0f8cc136d3937de6d0 (diff) |
Split the d_type field of cdevsw entries into d_type and d_flags for clarity.
Discussed with and ok deraadt@ millert@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/include/conf.h | 6 |
1 files changed, 3 insertions, 3 deletions
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); |