summaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2008-12-03 23:39:33 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2008-12-03 23:39:33 +0000
commit6cd9762e49e7e88ad61f8e32d52133aa0a642639 (patch)
tree3ce7a0c6946e6f49c7794a7c3e128b282741d26d /sys/kern/init_main.c
parentb2b1b8bb0d677b8a82c30123fef6213fe5e7e5c6 (diff)
add vscsi(4), a virtual scsi controller that passes all scsi requests up to
userland for handling. this is to scsi what tun(4) is for networks. this is going into the tree so i can work on some crazy scsi stuff, but its not being enabled since it is useless unless you're working on some crazy scsi stuff.
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 0226b96b3e1..5f8ec54df53 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.154 2008/10/15 23:23:51 deraadt Exp $ */
+/* $OpenBSD: init_main.c,v 1.155 2008/12/03 23:39:32 dlg Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -98,6 +98,7 @@
extern void nfs_init(void);
#endif
+#include "vscsi.h"
#include "softraid.h"
const char copyright[] =
@@ -440,6 +441,9 @@ main(void *framep)
dostartuphooks();
+#if NVSCSI > 0
+ config_rootfound("vscsi", NULL);
+#endif
#if NSOFTRAID > 0
config_rootfound("softraid", NULL);
#endif