[BACK]Return to MAKEDEV.conf CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc / etc.macppc

File: [cvs.NetBSD.org] / src / etc / etc.macppc / MAKEDEV.conf (download)

Revision 1.8, Sat Sep 13 11:46:18 2008 UTC (11 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base2, mjf-devfs2-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.7: +2 -1 lines

Move "makedev cfs" for the vcoda device from MI MAKEDEV.tmpl to
MD MAKEDEV.conf.  Not all ports have vcoda in their majors.foo files
and we shouldn't (re)assign major numbers on all ports before 5.0.

Should close PR port-sgimips/38962.

# $NetBSD: MAKEDEV.conf,v 1.8 2008/09/13 11:46:18 tsutsui Exp $

all_md)
	makedev wscons sd0 sd1 sd2 st0 st1 cd0 cd1 wd0 wd1
	makedev ss0 ch0 uk0 uk1
	makedev mlx0 ld0 ld1 ld2 ld3
	makedev tty00 tty01 tty10
	makedev usbs ttyCZ0 ttyCY0 audio
	makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
	makedev nvram apm adb grf0 openfirm
	makedev scsibus0 scsibus1 scsibus2 scsibus3
	makedev ses0 ses1 ses2 ses3
	makedev isdns
	makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
	makedev altq
	makedev sysmon
	makedev bktr
	makedev radio
	makedev kttcp
	makedev cfs
	;;

floppy)
	makedev std sd0 sd1 sd2 tty00 tty01 opty
	makedev st0 st1 cd0 cd1 wd0 wd1 md0
	makedev ttyE0 wsmouse0 wskbd0 ttyEcfg
	makedev raid0 raid1 raid2 raid3 raid4 raid5 raid6 raid7
	;;

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))
	mkdev tty$unit c 45 $(($ounit + $dialin ))	"" "" $u_uucp
	mkdev dty$unit c 45 $(($ounit + $dialout))	"" "" $u_uucp
	;;