1# $NetBSD: MAKEDEV.conf,v 1.7 2008/09/13 11:46:18 tsutsui Exp $ 2 3all_md) 4 makedev wscons sd0 sd1 sd2 st0 st1 cd0 cd1 wd0 wd1 fd0 fd1 5 makedev ss0 ch0 uk0 uk1 6 makedev mlx0 ld0 ld1 ld2 ld3 7 makedev tty00 tty01 tty10 tty11 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 sysmon bktr radio kttcp 16 makedev lpt0 lpt1 lpt2 tun0 tun1 17 makedev speaker joy0 joy1 satlink0 18 makedev xlcom0 19 makedev cfs 20 ;; 21 22floppy) 23 makedev std sd0 sd1 sd2 tty00 tty01 tty10 tty11 opty 24 makedev st0 st1 cd0 cd1 wd0 wd1 md0 fd0 fd1 25 makedev ttyE0 wsmouse0 wskbd0 ttyEcfg 26 makedev raid0 raid1 raid2 raid3 raid4 raid5 raid6 raid7 27 ;; 28 29tty1[0-9]) 30 # Mac uses special mapping - tty0[01] are the zstty ports, 31 # tty1? are 'com' ports; for 'com' ports, we need to start 32 # at correct offset, i.e. substract 10 33 ounit=${i#tty} 34 ounit=$(($ounit + 0)) 35 if [ $ounit -lt 10 ]; then 36 unit=0$ounit 37 else 38 unit=$ounit 39 fi 40 ounit=$(($ounit - 10)) 41 mkdev tty$unit c 45 $(($ounit + $dialin )) "" "" $u_uucp 42 mkdev dty$unit c 45 $(($ounit + $dialout)) "" "" $u_uucp 43 ;; 44 45xlcom*) 46 unit=${i#xlcom} 47 mkdev xlcom$unit c 99 $unit "" "" $u_uucp 48 ;; 49 50ramdisk) 51 makedev md0 floppy 52 ;; 53