summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2010-06-08 20:51:06 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2010-06-08 20:51:06 +0000
commitd8cf978011a227a06ab4075cfa87c04b3ff4aeb7 (patch)
treeecd4e6890e0758a915bc0b532b502e3b1aa22edd /sys/arch
parent194ec6db6e3859716ac71f22ced61707190d1265 (diff)
properly enable vscsi, fix incorrect major
ok jasper@ (also compile tested)
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/loongson/loongson/conf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/loongson/loongson/conf.c b/sys/arch/loongson/loongson/conf.c
index a5c0a544c6b..b4232e0d94b 100644
--- a/sys/arch/loongson/loongson/conf.c
+++ b/sys/arch/loongson/loongson/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.4 2010/03/30 19:16:09 matthieu Exp $ */
+/* $OpenBSD: conf.c,v 1.5 2010/06/08 20:51:05 todd Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -139,6 +139,7 @@ cdev_decl(pci);
#include "ucom.h"
#include "bthub.h"
+#include "vscsi.h"
struct cdevsw cdevsw[] =
{
@@ -219,6 +220,7 @@ struct cdevsw cdevsw[] =
cdev_tty_init(NUCOM,ucom), /* 66: USB tty */
cdev_hotplug_init(NHOTPLUG,hotplug), /* 67: devices hotplugging */
cdev_bthub_init(NBTHUB,bthub), /* 68: bluetooth hub */
+ cdev_vscsi_init(NVSCSI,vscsi), /* 69: vscsi */
};
int nchrdev = sizeof (cdevsw) / sizeof (cdevsw[0]);