Add IDE wd* devices for MI wdc support.

This commit is contained in:
mhitch 2000-02-01 05:26:12 +00:00
parent 11c8f56d48
commit 4f7848e09f
1 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.54 2000/01/21 12:28:23 tsutsui Exp $
# $NetBSD: MAKEDEV,v 1.55 2000/02/01 05:26:12 mhitch Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -57,6 +57,7 @@
#
# Disks:
# fd* Floppy disks
# wd* IDE disks
# sd* SCSI disks, includes flopticals
# cd* SCSI cdrom discs
# vnd* "file" pseudo-disks
@ -123,7 +124,7 @@ all)
sh $0 ttyB0 ttyB1 ttyB2 ttyB3 ttyB4 ttyB5 ttyB6 ttyB7
sh $0 ttyC0 ttyC1 ttyC2 ttyC3 ttyC4 ttyC5 ttyC6 ttyC7
sh $0 view00 view01 view02 view03 view04 view05 pty0 pty1
sh $0 sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9 cd0 st0
sh $0 sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9 cd0 st0 wd0 wd1
sh $0 ss0 ch0 uk0 uk1 ccd0 ccd1 ccd2 ccd3
sh $0 raid0 raid1 raid2 raid3
sh $0 vnd0 vnd1 vnd2 vnd3 vnd4 vnd5 vnd6
@ -138,7 +139,7 @@ floppy)
sh $0 ttye0 ttye1 ttye2 ttye3 ttye4 ttye5 ttye6 ttye7
sh $0 grf0 grf1 grf2 grf3 grf4 grf5 grf6 grf7
sh $0 tty00 ttyA0 ttyB0 ttyC0
sh $0 sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9 cd0 st0
sh $0 sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9 cd0 st0 wd0 wd1
;;
std)
@ -199,12 +200,13 @@ md*)
chmod 640 md${unit}? #rmd${unit}?
;;
sd*|vnd*|ccd*|raid*)
sd*|vnd*|ccd*|raid*|wd*)
case $i in
sd*) name=sd; unit=${i#sd}; blk=4; chr=8;;
vnd*) name=vnd; unit=${i#vnd}; blk=6; chr=19;;
ccd*) name=ccd; unit=${i#ccd}; blk=8; chr=7;;
raid*) name=raid; unit=${i#raid}; blk=16; chr=50;;
wd*) name=wd; unit=${i#wd}; blk=17; chr=52;
esac
rm -f $name$unit? r$name$unit?
mknod ${name}${unit}a b $blk $(($unit * 16 + 0))