[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-bugs
Subject:    system/876: Request raidframe implemented on sparc platform
From:       m4 () umn ! edu
Date:       1999-07-14 20:20:38
[Download RAW message or body]


>Number:         876
>Category:       system
>Synopsis:       raidframe, work on non-i386 machines?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bugs
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 14 14:30:01 MDT 1999
>Last-Modified:
>Originator:     Marshall M. Midden
>Organization:
Marshall M. Midden                         e-mail: m4@umn.edu
Networking and Telecommunications Services  Voice: +1 612 625 1335
Suite 145                                     FAX: +1 612 626 1002
2221 University Avenue S.E.
University of Minnesota,
Minneapolis, Mn.  55414, USA
>Release:        OpenBSD-current (1999-07-14)
>Environment:
	
	System      : OpenBSD 2.4
	Architecture: OpenBSD.sparc
	Machine     : sparc
>Description:
	
	Raidframe isn't in sparc port.
>How-To-Repeat:
	
>Fix:
	
	MAKEDEV changes, conf.c changes.  If there were others, I have
	forgotten.  Unfortunately, after enabling it, it crashes -- *sigh*

===================================================================
RCS file: /cvs/src/etc/etc.sparc/MAKEDEV,v
retrieving revision 1.57
diff -u -r1.57 MAKEDEV
--- MAKEDEV	1999/05/26 21:56:13	1.57
+++ MAKEDEV	1999/07/14 20:14:49
@@ -55,6 +55,7 @@
 #	fd*	Floppy disk drives (3 1/2", 5 1/4")
 #	vnd*	"file" pseudo-disks
 #	ccd*	concatenated disk devices
+#	raid*	RAIDframe disk devices
 #
 # Pseudo terminals:
 #	pty*	set of 16 master and slave pseudo terminals
@@ -201,6 +202,7 @@
 	sh $this ss0 ss1
 	sh $this pty0 vnd0 vnd1 vnd2 vnd3 audio tun0 tun1 tun2 tun3
 	sh $this ccd0 ccd1 ccd2 ccd3
+	sh $this raid0 raid1 raid2 raid3
 	sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
 	sh $this ipl
 	sh $this bwtwo0 cgtwo0 cgthree0 cgfour0 cgsix0
@@ -408,7 +410,7 @@
 	umask 77
 	;;
 
-ccd*|sd*|xd*|xy*|cd*)
+ccd*|sd*|xd*|xy*|cd*|raid*)
 	umask 2
 	unit=`unt $i`
 	if [ 0$unit -gt 15 ]
@@ -418,6 +420,7 @@
 	fi
 	case $i in
 	ccd*) name=ccd; blk=9; chr=23;;
+	raid*) name=raid; blk=25; chr=123;;
 	sd*) name=sd; blk=7; chr=17;;
 	xd*) name=xd; blk=10; chr=42;;
 	xy*) name=xy; blk=3; chr=9;;
==============================================================================
RCS file: /cvs/src/sys/arch/sparc/sparc/conf.c,v
retrieving revision 1.21
diff -u -r1.21 conf.c
--- conf.c	1999/02/01 00:30:43	1.21
+++ conf.c	1999/07/14 20:19:02
@@ -61,6 +61,7 @@
 #include "audio.h"
 #include "vnd.h"
 #include "ccd.h"
+#include "raid.h"
 #include "ch.h"
 #include "ss.h"
 #include "uk.h"
@@ -118,6 +119,7 @@
 	bdev_lkm_dummy(),		/* 22 */
 	bdev_lkm_dummy(),		/* 23 */
 	bdev_lkm_dummy(),		/* 24 */
+	bdev_disk_init(NRAID,raid),	/* 25: RAIDframe disk driver */
 };
 int	nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]);
 
@@ -250,6 +252,7 @@
 	cdev_uk_init(NUK,uk),		/* 120: unknown SCSI */
 	cdev_ss_init(NSS,ss),           /* 121: SCSI scanner */
 	cdev_ksyms_init(NKSYMS,ksyms),	/* 122: Kernel symbols device */
+	cdev_disk_init(NRAID,raid),     /* 123: RAIDframe disk driver */
 };
 int	nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
 
==============================================================================

>Audit-Trail:
>Unformatted:

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic