No empty .Rs/.Re
[netbsd-mini2440.git] / etc / etc.hp300 / MAKEDEV.conf
blobf1f50175440539fe703774adbcef705a8719e66f
1 #       $NetBSD: MAKEDEV.conf,v 1.10 2005/10/07 16:15:41 tsutsui Exp $
3 all_md)
4         makedev ct0 ct1 rd0 rd1 rd2
5 #       makedev wscons # should be after 'std'
6         makedev sd0 sd1 sd2 cd0 cd1 st0 st1 ch0
7         makedev hil grf0 ite0
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
13         makedev ss0 uk0 uk1
14         ;;
16 ct*)
17         case $i in
18         ct*) name=ct; unit=${i#ct}; blk=0; chr=7;;
19         esac
20         case $unit in
21         0|1|2|3|4|5|6|7)
22                 four=$(($unit + 4)) ; eight=$(($unit + 8))
23                 twelve=$(($unit + 12)) ; twenty=$(($unit + 20))
24                 #
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
32                 #
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
39                 ;;
40         *)
41                 warn "bad unit for tape in: $1"
42                 ;;
43         esac
44         ;;
46 hil)
47         for unit in 0 1 2 3 4 5 6 7
48         do
49                 mkdev hil${unit} c 14 ${unit} 666
50                 if [ -f /usr/sbin/hilinfo ]; then
51                         case $(/usr/sbin/hilinfo -t hil${unit}) in
52                         mouse)
53                                 if [ ! -f locator ]; then
54                                         lndev hil${unit} locator
55                                 fi
56                                 ;;
57                         keyboard)
58                                 if [ ! -f keyboard ]; then
59                                         lndev hil${unit} keyboard
60                                 fi
61                                 ;;
62                         *)
63                                 ;;
64                         esac
65                 fi
66         done
67         if [ ! -f /usr/sbin/hilinfo ]; then
68                 lndev hil1 keyboard
69                 lndev hil3 locator
70         fi
71 #       warn "hil: use $0.hpux to make HP-UX names for devices"
72         ;;
74 rd*)
75         name=rd; unit=${i#rd}; blk=2; chr=9
76         %MKDISK% $name $unit $blk $chr
77         ;;
79 ttyM*)
80         unit=${i#????}
81         case $unit in
82         [0-9])  i=$unit ;;
83         a)      i=10 ;;
84         b)      i=11 ;;
85         c)      i=12 ;;
86         d)      i=13 ;;
87         e)      i=14 ;;
88         f)      i=15 ;;
89         *)      i=-1 ;;
90         esac
91         if [ $i = -1 ]; then
92                 warn "bad unit for ttyM in: $unit"
93                 break
94         fi
95         mkdev ttyM$unit c 15 $i "" "" $u_uucp
96         ;;