summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>2000-10-01 00:23:27 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>2000-10-01 00:23:27 +0000
commitb4c0b5b56251f7b821ace7c579e95cc2e92cb7a8 (patch)
treed44a4c28ac295943c8dce292fcc3c6102a28fbc8 /sys/arch
parent9f65179f95332cdb2588940cd81daab423138063 (diff)
Complete raidframe support, support was incomplete before. Not known
to be working, but was starting to configure before testing was stopped.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/powerpc/powerpc/conf.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/powerpc/powerpc/conf.c b/sys/arch/powerpc/powerpc/conf.c
index 5c14eb19fe7..21454053eff 100644
--- a/sys/arch/powerpc/powerpc/conf.c
+++ b/sys/arch/powerpc/powerpc/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.17 2000/09/26 14:03:54 art Exp $ */
+/* $OpenBSD: conf.c,v 1.18 2000/10/01 00:23:26 rahnds Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -58,6 +58,8 @@ bdev_decl(rd);
bdev_decl(vnd);
#include "ccd.h"
bdev_decl(ccd);
+#include "raid.h"
+bdev_decl(raid);
struct bdevsw bdevsw[] = {
bdev_disk_init(NWD,wd), /* 0: ST506/ESDI/IDE disk */
@@ -79,6 +81,7 @@ struct bdevsw bdevsw[] = {
bdev_disk_init(NCCD,ccd), /* 16 concatenated disk driver*/
bdev_disk_init(NRD,rd), /* 17 ram disk driver*/
bdev_notdef(), /* 18 unknown*/
+ bdev_disk_init(NRAID,raid), /* 19: RAIDframe disk driver */
};
int nblkdev = sizeof bdevsw / sizeof bdevsw[0];
@@ -129,6 +132,8 @@ cdev_decl(cd);
cdev_decl(vnd);
cdev_decl(ccd);
cdev_decl(rd);
+#include "raid.h"
+cdev_decl(raid);
#include <wd.h>
cdev_decl(wd);
@@ -175,8 +180,6 @@ cdev_decl(urio);
#include "ucom.h"
cdev_decl(ucom);
-#include "raid.h"
-cdev_decl(raid);
#include "wsmux.h"
cdev_decl(wsmux);