summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/conf.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-09-21 04:28:01 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-09-21 04:28:01 +0000
commit2b8c7888cf060cc6c33d738b2aed5bd76b9ec749 (patch)
treeedef0ae33d1c627061199a5b3fff9eb09e2baafd /sys/arch/i386/include/conf.h
parentdaac31c7d27c4b339b96b96f2089613d7c2ae443 (diff)
support new boots
add to your config: bios0 at mainbus0 apm0 at mainbus0 # (if you are using APM)
Diffstat (limited to 'sys/arch/i386/include/conf.h')
-rw-r--r--sys/arch/i386/include/conf.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/arch/i386/include/conf.h b/sys/arch/i386/include/conf.h
index 34d1559c9a6..5c791b14abf 100644
--- a/sys/arch/i386/include/conf.h
+++ b/sys/arch/i386/include/conf.h
@@ -62,3 +62,12 @@ cdev_decl(lms);
cdev_decl(pms);
cdev_decl(joy);
+
+/* open, close, ioctl, mmap */
+#define cdev_bios_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, seltrue, (dev_type_mmap((*))) enodev }
+
+cdev_decl(bios);