1 # $NetBSD: MAKEDEV.conf,v 1.10 2005/10/07 16:15:41 tsutsui Exp $
4 makedev ct0 ct1 rd0 rd1 rd2
5 # makedev wscons # should be after 'std'
6 makedev sd0 sd1 sd2 cd0 cd1 st0 st1 ch0
8 makedev ttyC0 ttyC1 ttyC2 ttyC3
9 makedev ttyM0 ttyM1 ttyM2 ttyM3 ttyM4 ttyM5 ttyM6 ttyM7
10 makedev ttyM8 ttyM9 ttyMa ttyMb ttyMc ttyMd ttyMe ttyMf
11 makedev scsibus0 scsibus1 scsibus2 scsibus3
12 makedev ses0 ses1 ses2 ses3
18 ct*) name=ct; unit=${i#ct}; blk=0; chr=7;;
22 four=$(($unit + 4)) ; eight=$(($unit + 8))
23 twelve=$(($unit + 12)) ; twenty=$(($unit + 20))
25 # block devices don't work so don't make them
26 #mkdev ${name}${unit} b $blk $unit 660 $g_operator
27 #mkdev ${name}${four} b $blk $four 660 $g_operator
28 #mkdev ${name}${eight} b $blk $eight 660 $g_operator
29 #mkdev ${name}${twelve} b $blk $twelve 660 $g_operator
30 #lndev ${name}{$four} n${name}${unit} ;: sanity w/pdp11 v7
31 #lndev ${name}{$twelve} n${name}${eight} ;: ditto
33 mkdev r${name}${unit} c $chr $unit 660 $g_operator
34 mkdev r${name}${four} c $chr $four 660 $g_operator
35 mkdev r${name}${eight} c $chr $eight 660 $g_operator
36 mkdev r${name}${twelve} c $chr $twelve 660 $g_operator
37 lndev r${name}${four} nr${name}${unit} ;: sanity w/pdp11 v7
38 lndev r${name}${twelve} nr${name}${eight} ;: ditto
41 warn "bad unit for tape in: $1"
47 for unit in 0 1 2 3 4 5 6 7
49 mkdev hil${unit} c 14 ${unit} 666
50 if [ -f /usr/sbin/hilinfo ]; then
51 case $(/usr/sbin/hilinfo -t hil${unit}) in
53 if [ ! -f locator ]; then
54 lndev hil${unit} locator
58 if [ ! -f keyboard ]; then
59 lndev hil${unit} keyboard
67 if [ ! -f /usr/sbin/hilinfo ]; then
71 # warn "hil: use $0.hpux to make HP-UX names for devices"
75 name=rd; unit=${i#rd}; blk=2; chr=9
76 %MKDISK% $name $unit $blk $chr
92 warn "bad unit for ttyM in: $unit"
95 mkdev ttyM$unit c 15 $i "" "" $u_uucp