Subject: Re: mknod ??? with MI driver
To: None <port-pmax@netbsd.org>
From: Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
List: port-pmax
Date: 03/29/2000 09:12:41
> Can anybody tell me how to make the device-files for 
> scsi-disk and cdrom, needed with the MI scsi driver? 
> I don't know all the necessary major & minor numbers ....
>
> I looked in release 1.4.2's MAKEDEV, but found no
> sd* and cd* devices ...

The cdev/bdev assignement is described at pmax/pmax/conf.c
And they should be created as follows;

rz*|ccd*|cd*|raid*|sd*|vnd*)
        case $i in
        rz*)    name=rz;        unit=${i#rz};   blk=21; chr=56;;
        ccd*)   name=ccd;       unit=${i#ccd};  blk=24; chr=87;;
        cd*)    name=cd;        unit=${i#cd};   blk=25; chr=47;;
        raid*)  name=raid;      unit=${i#raid}; blk=32; chr=96;;
        sd*)    name=sd;        unit=${i#sd};   blk=19; chr=9;;
        vnd*)   name=vnd;       unit=${i#vnd};  blk=2;  chr=11;;
        esac

Tohru Nishimura