summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
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/sparc64
parentea1d3cc14e6fcb12ffd166a69cd07157ce724a11 (diff)
wire vscsi up to a cdev
for claudio@ ok deraadt@
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/sparc64/conf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/conf.c b/sys/arch/sparc64/sparc64/conf.c
index e5f5a242280..89f22cb5bc2 100644
--- a/sys/arch/sparc64/sparc64/conf.c
+++ b/sys/arch/sparc64/sparc64/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.51 2009/06/03 14:45:53 jj Exp $ */
+/* $OpenBSD: conf.c,v 1.52 2009/08/13 15:04:20 dlg Exp $ */
/* $NetBSD: conf.c,v 1.17 2001/03/26 12:33:26 lukem Exp $ */
/*
@@ -118,6 +118,7 @@ cdev_decl(nnpfs_dev);
#include "systrace.h"
#include "hotplug.h"
+#include "vscsi.h"
struct bdevsw bdevsw[] =
{
@@ -288,7 +289,8 @@ struct cdevsw cdevsw[] =
cdev_hotplug_init(NHOTPLUG,hotplug), /* 124: devices hot plugging */
cdev_tty_init(NVCONS,vcons), /* 125: virtual console */
cdev_tty_init(NSBBC,sbbc), /* 126: SBBC console */
- cdev_tty_init(NVCCTTY,vcctty) /* 127: virtual console concentrator */
+ cdev_tty_init(NVCCTTY,vcctty), /* 127: virtual console concentrator */
+ cdev_tty_init(NVSCSI,vscsi), /* 128: vscsi */
};
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);