add ed disk (MCA ESDI disk)
This commit is contained in:
parent
2355b2e1e7
commit
30f8b9b5fd
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $NetBSD: MAKEDEV,v 1.136 2001/04/05 23:04:11 thorpej Exp $
|
||||
# $NetBSD: MAKEDEV,v 1.137 2001/04/19 07:49:00 jdolecek Exp $
|
||||
#
|
||||
# Copyright (c) 1990 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
@ -55,6 +55,7 @@
|
||||
# ccd* contatenated disk devices
|
||||
# raid* RAIDframe disk devices
|
||||
# ld* Logical disk devices (e.g., hardware RAID)
|
||||
# ed* PS/2 ESDI disk devices
|
||||
#
|
||||
# Console ports:
|
||||
# ttyv0 pccons
|
||||
@ -151,6 +152,7 @@ case $i in
|
||||
|
||||
all)
|
||||
sh $0 std fd wt0 fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 sd4
|
||||
sh $0 ed0
|
||||
sh $0 tty0 tty1 tty2 tty3 pty0 pty1 pty2 pty3
|
||||
sh $0 raid0 raid1 raid2 raid3
|
||||
sh $0 st0 st1 ch0 cd0 cd1 mcd0 vnd0 vnd1 lpa0 lpa1 lpa2
|
||||
@ -415,7 +417,7 @@ ss*)
|
||||
chmod 640 $name$unit n$name$unit en$name$unit
|
||||
;;
|
||||
|
||||
ccd*|fd*|ld*|raid*|sd*|vnd*|wd*)
|
||||
ccd*|fd*|ld*|raid*|sd*|vnd*|wd*|ed*)
|
||||
case $i in
|
||||
ccd*) name=ccd; unit=${i#ccd}; blk=16; chr=18;;
|
||||
fd*) name=fd; unit=${i#fd}; blk=2; chr=9;;
|
||||
@ -424,6 +426,7 @@ ccd*|fd*|ld*|raid*|sd*|vnd*|wd*)
|
||||
sd*) name=sd; unit=${i#sd}; blk=4; chr=13;;
|
||||
vnd*) name=vnd; unit=${i#vnd}; blk=14; chr=41;;
|
||||
wd*) name=wd; unit=${i#wd}; blk=0; chr=3;;
|
||||
ed*) name=ed; unit=${i#ed}; blk=20; chr=79;;
|
||||
esac
|
||||
rm -f $name$unit? r$name$unit?
|
||||
mknod ${name}${unit}a b $blk $(($unit * 8 + 0))
|
||||
|
Loading…
x
Reference in New Issue
Block a user