From 2b8c7888cf060cc6c33d738b2aed5bd76b9ec749 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Sun, 21 Sep 1997 04:28:01 +0000 Subject: support new boots add to your config: bios0 at mainbus0 apm0 at mainbus0 # (if you are using APM) --- sys/arch/i386/include/conf.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sys/arch/i386/include/conf.h') 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); -- cgit v1.2.3