1 # $NetBSD: MAKEDEV.conf,v 1.4 2003/12/21 17:37:26 lukem Exp $ 2 3 all_md) 4 makedev wscons sd0 sd1 sd2 st0 st1 cd0 cd1 wd0 wd1 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 isdns 13 makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7 14 makedev sysmon 15 makedev bktr 16 makedev radio 17 makedev kttcp 18 ;; 19 20 floppy) 21 makedev std sd0 sd1 sd2 tty00 tty01 opty 22 makedev st0 st1 cd0 cd1 wd0 wd1 md0 23 makedev ttyE0 wsmouse0 wskbd0 ttyEcfg 24 ;; 25 26 tty1[0-9]) 27 # Mac uses special mapping - tty0[01] are the zstty ports, 28 # tty1? are 'com' ports; for 'com' ports, we need to start 29 # at correct offset, i.e. substract 10 30 ounit=${i#tty} 31 ounit=$(($ounit + 0)) 32 if [ $ounit -lt 10 ]; then 33 unit=0$ounit 34 else 35 unit=$ounit 36 fi 37 ounit=$(($ounit - 10)) 38 mkdev tty$unit c 45 $(($ounit + $dialin )) "" "" $u_uucp 39 mkdev dty$unit c 45 $(($ounit + $dialout)) "" "" $u_uucp 40 ;; 41