1# $NetBSD: MAKEDEV.conf,v 1.9 2010/12/01 22:06:19 abs Exp $ 2 3all_md) 4 makedev wscons sd0 sd1 sd2 st0 st1 cd0 cd1 wd0 wd1 wd2 wd3 5 makedev ss0 ch0 uk0 uk1 6 makedev mlx0 ld0 ld1 ld2 ld3 7 makedev tty00 tty01 tty10 8 makedev usbs ttyCZ0 ttyCY0 audio 9 makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7 10 makedev nvram apm adb grf0 openfirm 11 makedev scsibus0 scsibus1 scsibus2 scsibus3 12 makedev ses0 ses1 ses2 ses3 13 makedev isdns 14 makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7 15 makedev altq 16 makedev sysmon 17 makedev bktr 18 makedev radio 19 makedev kttcp 20 makedev cfs 21 ;; 22 23floppy) 24 makedev std sd0 sd1 sd2 tty00 tty01 opty 25 makedev st0 st1 cd0 cd1 wd0 wd1 wd2 wd3 md0 26 makedev ttyE0 wsmouse0 wskbd0 ttyEcfg 27 makedev raid0 raid1 raid2 raid3 raid4 raid5 raid6 raid7 28 ;; 29 30tty1[0-9]) 31 # Mac uses special mapping - tty0[01] are the zstty ports, 32 # tty1? are 'com' ports; for 'com' ports, we need to start 33 # at correct offset, i.e. substract 10 34 ounit=${i#tty} 35 ounit=$(($ounit + 0)) 36 if [ $ounit -lt 10 ]; then 37 unit=0$ounit 38 else 39 unit=$ounit 40 fi 41 ounit=$(($ounit - 10)) 42 mkdev tty$unit c 45 $(($ounit + $dialin )) "" "" $u_uucp 43 mkdev dty$unit c 45 $(($ounit + $dialout)) "" "" $u_uucp 44 ;; 45