summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2009-08-13 15:04:21 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2009-08-13 15:04:21 +0000
commitab4be3bcff17e7403fb64250b7a39a9e90e7e0cb (patch)
treec6fc9b05cbc1b3f6f340c6b0fa2664e3f0bad6d4 /sys/arch/sparc
parentea1d3cc14e6fcb12ffd166a69cd07157ce724a11 (diff)
wire vscsi up to a cdev
for claudio@ ok deraadt@
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/sparc/conf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/sparc/conf.c b/sys/arch/sparc/sparc/conf.c
index b675c102b29..7835978a51e 100644
--- a/sys/arch/sparc/sparc/conf.c
+++ b/sys/arch/sparc/sparc/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.49 2009/06/03 14:45:53 jj Exp $ */
+/* $OpenBSD: conf.c,v 1.50 2009/08/13 15:04:20 dlg Exp $ */
/* $NetBSD: conf.c,v 1.40 1996/04/11 19:20:03 thorpej Exp $ */
/*
@@ -128,6 +128,7 @@ int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]);
#include "pf.h"
#include "systrace.h"
#include "tctrl.h"
+#include "vscsi.h"
struct cdevsw cdevsw[] =
{
@@ -266,6 +267,7 @@ struct cdevsw cdevsw[] =
cdev_disk_init(NRAID,raid), /* 123: RAIDframe disk driver */
cdev_bio_init(NBIO,bio), /* 124: ioctl tunnel */
cdev_ptm_init(NPTY,ptm), /* 125: pseudo-tty ptm device */
+ cdev_vscsi_init(NVSCSI,vscsi), /* 128: vscsi */
};
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);