summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include/conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/include/conf.h')
-rw-r--r--sys/arch/sparc64/include/conf.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/conf.h b/sys/arch/sparc64/include/conf.h
index aa6201098d9..fe1c467d7c0 100644
--- a/sys/arch/sparc64/include/conf.h
+++ b/sys/arch/sparc64/include/conf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.h,v 1.2 2001/08/20 20:23:52 jason Exp $ */
+/* $OpenBSD: conf.h,v 1.3 2001/09/20 20:50:03 jason Exp $ */
/* $NetBSD: conf.h,v 1.9 2001/03/26 12:33:26 lukem Exp $ */
/*-
@@ -41,8 +41,17 @@
#define mmwrite mmrw
cdev_decl(mm);
+cdev_decl(ksyms);
+
cdev_decl(openprom);
+/* open, close, ioctl */
+#define cdev_openprom_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((*))) nullop, 0, (dev_type_select((*))) enodev, \
+ (dev_type_mmap((*))) enodev }
+
cdev_decl(cn);
cdev_decl(zs);