diff options
| author | 2008-12-03 23:39:32 +0000 | |
|---|---|---|
| committer | 2008-12-03 23:39:32 +0000 | |
| commit | bfea8c94be9e8f5a432ef239ce019aa3f1c3a5fa (patch) | |
| tree | 49344a717fcde6a85a3164ff1aa9832e446f481e /sys/kern/init_main.c | |
| parent | Get size of the struct cardslot_event, not the function cardslot_event. (diff) | |
| download | wireguard-openbsd-bfea8c94be9e8f5a432ef239ce019aa3f1c3a5fa.tar.xz wireguard-openbsd-bfea8c94be9e8f5a432ef239ce019aa3f1c3a5fa.zip | |
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.c | 6 |
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 |
