2016-12-08 14:31:08 +03:00
|
|
|
# $NetBSD: MAKEDEV.conf,v 1.10 2016/12/08 11:31:14 nat Exp $
|
2003-10-15 23:13:32 +04:00
|
|
|
|
|
|
|
all_md)
|
2010-12-02 01:06:19 +03:00
|
|
|
makedev wscons sd0 sd1 sd2 st0 st1 cd0 cd1 wd0 wd1 wd2 wd3
|
2003-10-15 23:13:32 +04:00
|
|
|
makedev ss0 ch0 uk0 uk1
|
|
|
|
makedev mlx0 ld0 ld1 ld2 ld3
|
|
|
|
makedev tty00 tty01 tty10
|
2016-12-08 14:31:08 +03:00
|
|
|
makedev usbs ttyCZ0 ttyCY0 audio speaker
|
2003-10-15 23:13:32 +04:00
|
|
|
makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
|
|
|
|
makedev nvram apm adb grf0 openfirm
|
|
|
|
makedev scsibus0 scsibus1 scsibus2 scsibus3
|
2007-01-16 02:35:11 +03:00
|
|
|
makedev ses0 ses1 ses2 ses3
|
2003-10-15 23:13:32 +04:00
|
|
|
makedev isdns
|
|
|
|
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
|
2006-06-20 01:36:56 +04:00
|
|
|
makedev altq
|
2003-10-15 23:13:32 +04:00
|
|
|
makedev sysmon
|
|
|
|
makedev bktr
|
|
|
|
makedev radio
|
|
|
|
makedev kttcp
|
2008-09-13 15:46:18 +04:00
|
|
|
makedev cfs
|
2003-10-15 23:13:32 +04:00
|
|
|
;;
|
|
|
|
|
|
|
|
floppy)
|
|
|
|
makedev std sd0 sd1 sd2 tty00 tty01 opty
|
2010-12-02 01:06:19 +03:00
|
|
|
makedev st0 st1 cd0 cd1 wd0 wd1 wd2 wd3 md0
|
2003-10-15 23:13:32 +04:00
|
|
|
makedev ttyE0 wsmouse0 wskbd0 ttyEcfg
|
2005-06-09 17:29:57 +04:00
|
|
|
makedev raid0 raid1 raid2 raid3 raid4 raid5 raid6 raid7
|
2003-10-15 23:13:32 +04:00
|
|
|
;;
|
2003-10-24 12:20:26 +04:00
|
|
|
|
|
|
|
tty1[0-9])
|
|
|
|
# Mac uses special mapping - tty0[01] are the zstty ports,
|
|
|
|
# tty1? are 'com' ports; for 'com' ports, we need to start
|
|
|
|
# at correct offset, i.e. substract 10
|
|
|
|
ounit=${i#tty}
|
|
|
|
ounit=$(($ounit + 0))
|
|
|
|
if [ $ounit -lt 10 ]; then
|
|
|
|
unit=0$ounit
|
|
|
|
else
|
|
|
|
unit=$ounit
|
|
|
|
fi
|
|
|
|
ounit=$(($ounit - 10))
|
2003-12-21 20:37:26 +03:00
|
|
|
mkdev tty$unit c 45 $(($ounit + $dialin )) "" "" $u_uucp
|
|
|
|
mkdev dty$unit c 45 $(($ounit + $dialout)) "" "" $u_uucp
|
2003-10-24 12:20:26 +04:00
|
|
|
;;
|