summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/include/conf.h')
-rw-r--r--sys/arch/i386/include/conf.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/i386/include/conf.h b/sys/arch/i386/include/conf.h
index 82a4f670620..33276008ce1 100644
--- a/sys/arch/i386/include/conf.h
+++ b/sys/arch/i386/include/conf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.h,v 1.10 2003/09/23 16:51:11 millert Exp $ */
+/* $OpenBSD: conf.h,v 1.11 2005/06/02 20:09:39 tholo Exp $ */
/* $NetBSD: conf.h,v 1.2 1996/05/05 19:28:34 christos Exp $ */
/*
@@ -55,6 +55,12 @@ cdev_decl(pc);
(dev_type_stop((*))) enodev, 0, (dev_type_poll((*))) enodev, \
(dev_type_mmap((*))) enodev, 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) }
+
cdev_decl(spkr);
cdev_decl(mms);
@@ -68,6 +74,8 @@ cdev_decl(joy);
#define biospoll seltrue
cdev_decl(bios);
+cdev_decl(acpi);
+
cdev_decl(apm);
#define pctrpoll seltrue