2011-09-06 18:40:10 +04:00
|
|
|
# $NetBSD: MAKEDEV.conf,v 1.11 2011/09/06 14:40:10 apb Exp $
|
2003-10-15 23:13:32 +04:00
|
|
|
|
|
|
|
all_md)
|
2003-10-24 12:20:26 +04:00
|
|
|
makedev wscons std_amiga fd0 fd1 fd2 fd3 kbd mouse0 mouse1 par0
|
|
|
|
makedev lpt0 lpt1 lpt2 lpt3 lpa0 lpa1 lpa2 lpa3
|
2003-10-15 23:13:32 +04:00
|
|
|
makedev ttye0 ttye1 ttye2 ttye3 ttye4 ttye5 ttye6 ttye7
|
|
|
|
makedev grf0 grf1 grf2 grf3 grf4 grf5 grf6 grf7
|
|
|
|
makedev tty00 ttyA0 ttyA1
|
|
|
|
makedev ttyB0 ttyB1 ttyB2 ttyB3 ttyB4 ttyB5 ttyB6 ttyB7
|
|
|
|
makedev ttyC0 ttyC1 ttyC2 ttyC3 ttyC4 ttyC5 ttyC6 ttyC7
|
|
|
|
makedev view00 view01 view02 view03 view04 view05
|
|
|
|
makedev sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9 cd0 st0 wd0 wd1
|
2007-01-16 02:35:11 +03:00
|
|
|
makedev ses0 ses1 ses2 ses3
|
2003-10-15 23:13:32 +04:00
|
|
|
makedev ss0 ch0 uk0 uk1
|
2003-10-24 12:20:26 +04:00
|
|
|
makedev vnd4 vnd5 vnd6
|
2003-10-19 21:24:14 +04:00
|
|
|
makedev audio
|
2003-10-15 23:13:32 +04:00
|
|
|
makedev scsibus0 scsibus1 scsibus2 scsibus3
|
|
|
|
makedev isdns
|
2005-02-20 20:49:49 +03:00
|
|
|
makedev nsmb
|
2003-10-15 23:13:32 +04:00
|
|
|
;;
|
|
|
|
|
|
|
|
floppy)
|
2003-10-24 15:05:23 +04:00
|
|
|
makedev std std_amiga fd0 fd1 fd2 fd3 kbd opty tun0 tun1
|
2003-10-15 23:13:32 +04:00
|
|
|
makedev ttye0 ttye1 ttye2 ttye3 ttye4 ttye5 ttye6 ttye7
|
|
|
|
makedev grf0 grf1 grf2 grf3 grf4 grf5 grf6 grf7
|
|
|
|
makedev tty00 ttyA0 ttyB0 ttyC0
|
|
|
|
makedev sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9
|
|
|
|
makedev cd0 cd1 cd2 st0 wd0 wd1 md0
|
2006-11-29 06:26:39 +03:00
|
|
|
makedev raid0 raid1 raid2 raid3
|
2003-10-15 23:13:32 +04:00
|
|
|
;;
|
|
|
|
|
2003-10-24 12:20:26 +04:00
|
|
|
std_amiga)
|
2003-12-21 20:37:26 +03:00
|
|
|
mkdev reload c 2 20
|
2003-10-24 12:20:26 +04:00
|
|
|
;;
|
|
|
|
|
2011-09-06 18:40:10 +04:00
|
|
|
tty0[0-9]*|ttyA[0-9]*|ttyB[0-9]*)
|
2003-10-15 23:13:32 +04:00
|
|
|
case $i in
|
2003-10-24 12:20:26 +04:00
|
|
|
tty0*) name=tty0; mname=ttym; unit=${i#tty0}; chr=12; mult=1; add=128;;
|
2003-10-15 23:13:32 +04:00
|
|
|
ttyA*) name=ttyA; mname=ttyAm; unit=${i#ttyA}; chr=17; mult=1; add=128;;
|
|
|
|
ttyB*) name=ttyB; mname=ttyBm; unit=${i#ttyB}; chr=31; mult=2; add=1;;
|
|
|
|
esac
|
2003-12-21 20:37:26 +03:00
|
|
|
mkdev $name$unit c $chr $(($unit * $mult)) "" "" $u_uucp
|
|
|
|
mkdev $mname$unit c $chr $(($unit * $mult + $add)) "" "" $u_uucp
|
2003-10-15 23:13:32 +04:00
|
|
|
;;
|
|
|
|
|
2011-09-06 18:40:10 +04:00
|
|
|
grf[0-9]*)
|
2003-10-15 23:13:32 +04:00
|
|
|
unit=${i#grf}; chr=10
|
|
|
|
case $unit in
|
|
|
|
0|1|2|3|4|5|6|7)
|
2003-12-21 20:37:26 +03:00
|
|
|
mkdev grf$unit c $chr $unit 666
|
2003-10-15 23:13:32 +04:00
|
|
|
;;
|
|
|
|
*)
|
2003-12-23 01:26:32 +03:00
|
|
|
warn "bad unit for grf in: $i"
|
2003-10-15 23:13:32 +04:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
# for those that need it, also make overlay and image devices:
|
|
|
|
case $unit in
|
|
|
|
4)
|
2003-12-21 20:37:26 +03:00
|
|
|
mkdev grfov$unit c $chr $(($unit + 16)) 666
|
|
|
|
mkdev grfim$unit c $chr $(($unit + 32)) 666
|
2003-10-15 23:13:32 +04:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
;;
|