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

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

Revision 1.10, Mon Jan 15 23:35:11 2007 UTC (13 years ago) by hubertf
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, 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, mjf-devfs2, mjf-devfs-base, mjf-devfs, 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-premerge-20101231, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.9: +2 -1 lines

Fix MAKEDEV on shark: Move ses(4) devices from MI code (MAKEDEV.tmpl) to
those platforms that actually have the driver.

See also:
http://mail-index.netbsd.org/tech-userlevel/2007/01/08/0001.html

Fixes PR 26511 properly.

OK'd by wrstuden@

# $NetBSD: MAKEDEV.conf,v 1.10 2007/01/15 23:35:11 hubertf Exp $

all_md)
	makedev wscons std_amiga fd0 fd1 fd2 fd3 kbd mouse0 mouse1 par0
	makedev lpt0 lpt1 lpt2 lpt3 lpa0 lpa1 lpa2 lpa3
	makedev ttye0 ttye1 ttye2 ttye3 ttye4 ttye5 ttye6 ttye7
	makedev grf0 grf1 grf2 grf3 grf4 grf5 grf6 grf7
	makedev tty00 ttyA0 ttyA1
	makedev ttyB0 ttyB1 ttyB2 ttyB3 ttyB4 ttyB5 ttyB6 ttyB7
	makedev ttyC0 ttyC1 ttyC2 ttyC3 ttyC4 ttyC5 ttyC6 ttyC7
	makedev view00 view01 view02 view03 view04 view05
	makedev sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9 cd0 st0 wd0 wd1
	makedev ses0 ses1 ses2 ses3
	makedev ss0 ch0 uk0 uk1
	makedev vnd4 vnd5 vnd6
	makedev audio
	makedev scsibus0 scsibus1 scsibus2 scsibus3
	makedev isdns
	makedev nsmb
	;;

floppy)
	makedev std std_amiga fd0 fd1 fd2 fd3 kbd opty tun0 tun1
	makedev ttye0 ttye1 ttye2 ttye3 ttye4 ttye5 ttye6 ttye7
	makedev grf0 grf1 grf2 grf3 grf4 grf5 grf6 grf7
	makedev tty00 ttyA0 ttyB0 ttyC0
	makedev sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9
	makedev cd0 cd1 cd2 st0 wd0 wd1 md0
	makedev raid0 raid1 raid2 raid3
	;;

std_amiga)
	mkdev reload c 2 20
	;;

tty0*|ttyA*|ttyB*)
	case $i in
	tty0*) name=tty0; mname=ttym;	unit=${i#tty0};	chr=12; mult=1; add=128;;
	ttyA*) name=ttyA; mname=ttyAm;	unit=${i#ttyA};	chr=17; mult=1; add=128;;
	ttyB*) name=ttyB; mname=ttyBm;	unit=${i#ttyB};	chr=31; mult=2; add=1;;
	esac
	mkdev $name$unit  c $chr $(($unit * $mult))		"" "" $u_uucp
	mkdev $mname$unit c $chr $(($unit * $mult + $add))	"" "" $u_uucp
	;;

grf*)
	unit=${i#grf};	chr=10
	case $unit in
	0|1|2|3|4|5|6|7)
		mkdev grf$unit	c $chr $unit 666
		;;
	*)
		warn "bad unit for grf in: $i"
		;;
	esac
# for those that need it, also make overlay and image devices:
	case $unit in
	4)
		mkdev grfov$unit	c $chr $(($unit + 16)) 666
		mkdev grfim$unit	c $chr $(($unit + 32)) 666
		;;
	esac
	;;