head 1.7; access; symbols netbsd-10-0-RELEASE:1.7 netbsd-10-0-RC6:1.7 netbsd-10-0-RC5:1.7 netbsd-10-0-RC4:1.7 netbsd-10-0-RC3:1.7 netbsd-10-0-RC2:1.7 netbsd-10-0-RC1:1.7 netbsd-10:1.7.0.54 netbsd-10-base:1.7 netbsd-9-3-RELEASE:1.7 cjep_sun2x-base1:1.7 cjep_sun2x:1.7.0.52 cjep_sun2x-base:1.7 cjep_staticlib_x-base1:1.7 netbsd-9-2-RELEASE:1.7 cjep_staticlib_x:1.7.0.50 cjep_staticlib_x-base:1.7 netbsd-9-1-RELEASE:1.7 phil-wifi-20200421:1.7 phil-wifi-20200411:1.7 is-mlppp:1.7.0.48 is-mlppp-base:1.7 phil-wifi-20200406:1.7 netbsd-8-2-RELEASE:1.7 netbsd-9-0-RELEASE:1.7 netbsd-9-0-RC2:1.7 netbsd-9-0-RC1:1.7 phil-wifi-20191119:1.7 netbsd-9:1.7.0.46 netbsd-9-base:1.7 phil-wifi-20190609:1.7 netbsd-8-1-RELEASE:1.7 netbsd-8-1-RC1:1.7 pgoyette-compat-merge-20190127:1.7 pgoyette-compat-20190127:1.7 pgoyette-compat-20190118:1.7 pgoyette-compat-1226:1.7 pgoyette-compat-1126:1.7 pgoyette-compat-1020:1.7 pgoyette-compat-0930:1.7 pgoyette-compat-0906:1.7 netbsd-7-2-RELEASE:1.7 pgoyette-compat-0728:1.7 netbsd-8-0-RELEASE:1.7 phil-wifi:1.7.0.44 phil-wifi-base:1.7 pgoyette-compat-0625:1.7 netbsd-8-0-RC2:1.7 pgoyette-compat-0521:1.7 pgoyette-compat-0502:1.7 pgoyette-compat-0422:1.7 netbsd-8-0-RC1:1.7 pgoyette-compat-0415:1.7 pgoyette-compat-0407:1.7 pgoyette-compat-0330:1.7 pgoyette-compat-0322:1.7 pgoyette-compat-0315:1.7 netbsd-7-1-2-RELEASE:1.7 pgoyette-compat:1.7.0.42 pgoyette-compat-base:1.7 netbsd-7-1-1-RELEASE:1.7 matt-nb8-mediatek:1.7.0.40 matt-nb8-mediatek-base:1.7 perseant-stdc-iso10646:1.7.0.38 perseant-stdc-iso10646-base:1.7 netbsd-8:1.7.0.36 netbsd-8-base:1.7 prg-localcount2-base3:1.7 prg-localcount2-base2:1.7 prg-localcount2-base1:1.7 prg-localcount2:1.7.0.34 prg-localcount2-base:1.7 pgoyette-localcount-20170426:1.7 bouyer-socketcan-base1:1.7 pgoyette-localcount-20170320:1.7 netbsd-7-1:1.7.0.32 netbsd-7-1-RELEASE:1.7 netbsd-7-1-RC2:1.7 netbsd-7-nhusb-base-20170116:1.7 bouyer-socketcan:1.7.0.30 bouyer-socketcan-base:1.7 pgoyette-localcount-20170107:1.7 netbsd-7-1-RC1:1.7 pgoyette-localcount-20161104:1.7 netbsd-7-0-2-RELEASE:1.7 localcount-20160914:1.7 netbsd-7-nhusb:1.7.0.28 netbsd-7-nhusb-base:1.7 pgoyette-localcount-20160806:1.7 pgoyette-localcount-20160726:1.7 pgoyette-localcount:1.7.0.26 pgoyette-localcount-base:1.7 netbsd-7-0-1-RELEASE:1.7 netbsd-7-0:1.7.0.24 netbsd-7-0-RELEASE:1.7 netbsd-7-0-RC3:1.7 netbsd-7-0-RC2:1.7 netbsd-7-0-RC1:1.7 netbsd-5-2-3-RELEASE:1.6 netbsd-5-1-5-RELEASE:1.6 netbsd-6-0-6-RELEASE:1.7 netbsd-6-1-5-RELEASE:1.7 netbsd-7:1.7.0.22 netbsd-7-base:1.7 yamt-pagecache-base9:1.7 yamt-pagecache-tag8:1.7 netbsd-6-1-4-RELEASE:1.7 netbsd-6-0-5-RELEASE:1.7 tls-earlyentropy:1.7.0.20 tls-earlyentropy-base:1.7 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.7 riastradh-drm2-base3:1.7 netbsd-6-1-3-RELEASE:1.7 netbsd-6-0-4-RELEASE:1.7 netbsd-5-2-2-RELEASE:1.6 netbsd-5-1-4-RELEASE:1.6 netbsd-6-1-2-RELEASE:1.7 netbsd-6-0-3-RELEASE:1.7 netbsd-5-2-1-RELEASE:1.6 netbsd-5-1-3-RELEASE:1.6 netbsd-6-1-1-RELEASE:1.7 riastradh-drm2-base2:1.7 riastradh-drm2-base1:1.7 riastradh-drm2:1.7.0.12 riastradh-drm2-base:1.7 netbsd-6-1:1.7.0.18 netbsd-6-0-2-RELEASE:1.7 netbsd-6-1-RELEASE:1.7 khorben-n900:1.7.0.16 netbsd-6-1-RC4:1.7 netbsd-6-1-RC3:1.7 agc-symver:1.7.0.14 agc-symver-base:1.7 netbsd-6-1-RC2:1.7 netbsd-6-1-RC1:1.7 yamt-pagecache-base8:1.7 netbsd-5-2:1.6.0.36 netbsd-6-0-1-RELEASE:1.7 yamt-pagecache-base7:1.7 netbsd-5-2-RELEASE:1.6 netbsd-5-2-RC1:1.6 matt-nb6-plus-nbase:1.7 yamt-pagecache-base6:1.7 netbsd-6-0:1.7.0.10 netbsd-6-0-RELEASE:1.7 netbsd-6-0-RC2:1.7 tls-maxphys:1.7.0.8 tls-maxphys-base:1.7 matt-nb6-plus:1.7.0.6 matt-nb6-plus-base:1.7 netbsd-6-0-RC1:1.7 yamt-pagecache-base5:1.7 yamt-pagecache-base4:1.7 netbsd-6:1.7.0.4 netbsd-6-base:1.7 netbsd-5-1-2-RELEASE:1.6 netbsd-5-1-1-RELEASE:1.6 yamt-pagecache-base3:1.7 yamt-pagecache-base2:1.7 yamt-pagecache:1.7.0.2 yamt-pagecache-base:1.7 cherry-xenmp:1.6.0.34 cherry-xenmp-base:1.6 bouyer-quota2-nbase:1.6 bouyer-quota2:1.6.0.32 bouyer-quota2-base:1.6 matt-mips64-premerge-20101231:1.6 matt-nb5-mips64-premerge-20101231:1.6 matt-nb5-pq3:1.6.0.30 matt-nb5-pq3-base:1.6 netbsd-5-1:1.6.0.28 netbsd-5-1-RELEASE:1.6 netbsd-5-1-RC4:1.6 matt-nb5-mips64-k15:1.6 netbsd-5-1-RC3:1.6 netbsd-5-1-RC2:1.6 netbsd-5-1-RC1:1.6 netbsd-5-0-2-RELEASE:1.6 matt-nb5-mips64-premerge-20091211:1.6 matt-premerge-20091211:1.6 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.6 matt-nb4-mips64-k7-u2a-k9b:1.6 matt-nb5-mips64-u1-k1-k5:1.6 matt-nb5-mips64:1.6.0.26 netbsd-5-0-1-RELEASE:1.6 jym-xensuspend-nbase:1.6 netbsd-5-0:1.6.0.24 netbsd-5-0-RELEASE:1.6 netbsd-5-0-RC4:1.6 netbsd-5-0-RC3:1.6 netbsd-5-0-RC2:1.6 jym-xensuspend:1.6.0.22 jym-xensuspend-base:1.6 netbsd-5-0-RC1:1.6 mjf-devfs2-base2:1.6 netbsd-5:1.6.0.20 netbsd-5-base:1.6 matt-mips64-base2:1.6 matt-mips64:1.6.0.18 netbsd-4-0-1-RELEASE:1.5.16.1 wrstuden-revivesa-base-3:1.6 wrstuden-revivesa-base-2:1.6 wrstuden-fixsa-newbase:1.5.16.1 wrstuden-revivesa-base-1:1.6 yamt-pf42-base4:1.6 yamt-pf42-base3:1.6 hpcarm-cleanup-nbase:1.6 yamt-pf42-baseX:1.6 yamt-pf42-base2:1.6 wrstuden-revivesa:1.6.0.16 wrstuden-revivesa-base:1.6 yamt-pf42:1.6.0.14 yamt-pf42-base:1.6 mjf-devfs2:1.6.0.12 mjf-devfs2-base:1.6 keiichi-mipv6:1.6.0.10 keiichi-mipv6-base:1.6 mjf-devfs:1.6.0.8 mjf-devfs-base:1.6 matt-armv6-nbase:1.6 matt-armv6-prevmlocking:1.6 wrstuden-fixsa-base-1:1.5.16.1 netbsd-4-0:1.5.16.1.0.4 netbsd-4-0-RELEASE:1.5.16.1 cube-autoconf:1.6.0.6 cube-autoconf-base:1.6 netbsd-4-0-RC5:1.5.16.1 netbsd-4-0-RC4:1.5.16.1 netbsd-4-0-RC3:1.5.16.1 netbsd-4-0-RC2:1.5.16.1 netbsd-4-0-RC1:1.5.16.1 matt-armv6:1.6.0.4 matt-armv6-base:1.6 matt-mips64-base:1.6 hpcarm-cleanup:1.6.0.2 hpcarm-cleanup-base:1.6 netbsd-3-1-1-RELEASE:1.5 netbsd-3-0-3-RELEASE:1.5 wrstuden-fixsa:1.5.16.1.0.2 wrstuden-fixsa-base:1.5.16.1 abandoned-netbsd-4-base:1.5 abandoned-netbsd-4:1.5.0.12 netbsd-3-1:1.5.0.14 netbsd-3-1-RELEASE:1.5 netbsd-3-0-2-RELEASE:1.5 netbsd-3-1-RC4:1.5 netbsd-3-1-RC3:1.5 netbsd-3-1-RC2:1.5 netbsd-3-1-RC1:1.5 netbsd-4:1.5.0.16 netbsd-4-base:1.5 netbsd-3-0-1-RELEASE:1.5 netbsd-3-0:1.5.0.10 netbsd-3-0-RELEASE:1.5 netbsd-3-0-RC6:1.5 netbsd-3-0-RC5:1.5 netbsd-3-0-RC4:1.5 netbsd-3-0-RC3:1.5 netbsd-3-0-RC2:1.5 netbsd-3-0-RC1:1.5 netbsd-2-0-3-RELEASE:1.5 netbsd-2-1:1.5.0.8 netbsd-2-1-RELEASE:1.5 netbsd-2-1-RC6:1.5 netbsd-2-1-RC5:1.5 netbsd-2-1-RC4:1.5 netbsd-2-1-RC3:1.5 netbsd-2-1-RC2:1.5 netbsd-2-1-RC1:1.5 netbsd-2-0-2-RELEASE:1.5 netbsd-3:1.5.0.6 netbsd-3-base:1.5 netbsd-2-0-1-RELEASE:1.5 netbsd-2:1.5.0.4 netbsd-2-base:1.5 netbsd-2-0-RELEASE:1.5 netbsd-2-0-RC5:1.5 netbsd-2-0-RC4:1.5 netbsd-2-0-RC3:1.5 netbsd-2-0-RC2:1.5 netbsd-2-0-RC1:1.5 netbsd-2-0:1.5.0.2 netbsd-2-0-base:1.5 unifiedMKDEV-pre:1.3; locks; strict; comment @# @; 1.7 date 2011.09.06.14.40.11; author apb; state Exp; branches; next 1.6; 1.6 date 2007.01.15.23.35.12; author hubertf; state Exp; branches; next 1.5; 1.5 date 2003.12.21.17.37.26; author lukem; state Exp; branches 1.5.16.1; next 1.4; 1.4 date 2003.12.21.16.27.34; author lukem; state Exp; branches; next 1.3; 1.3 date 2003.10.24.08.20.26; author jdolecek; state Exp; branches; next 1.2; 1.2 date 2003.10.19.19.07.27; author jdolecek; state Exp; branches; next 1.1; 1.1 date 2003.10.15.19.13.33; author jdolecek; state Exp; branches; next ; 1.5.16.1 date 2007.02.18.14.05.34; author tron; state Exp; branches; next ; desc @@ 1.7 log @Change foo*) case patterns to foo[0-9]*) in MD MAKEDEV.conf files, as was done earlier today for the MI MAKEDEV.tmpl. There are also a few instances of slightly different changes in the case patterns. @ text @# $NetBSD: MAKEDEV.conf,v 1.6 2007/01/15 23:35:12 hubertf Exp $ all_md) makedev sd0 sd1 sd2 makedev ttyZ1 ttyZ2 ttyZ3 ttyC1 ttyC2 ttyC3 makedev st0 st1 ch0 cd0 cd1 lpa0 lpt0 makedev ss0 ch0 uk0 uk1 makedev scsibus0 scsibus1 scsibus2 scsibus3 makedev ses0 ses1 ses2 ses3 ;; ttyC[0-9]*) # on-board mvme68k serial ports unit=${i#ttyC} mkdev ttyC$unit c 13 $(($unit + $dialin )) "" "" $u_uucp mkdev dtyC$unit c 13 $(($unit + $dialout)) "" "" $u_uucp ;; @ 1.6 log @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@@ @ text @d1 1 a1 1 # $NetBSD: MAKEDEV.conf,v 1.5 2003/12/21 17:37:26 lukem Exp $ d12 1 a12 1 ttyC*) @ 1.5 log @Rework MAKEDEV: * Use "mknod -F netbsd -r" to create nodes, instead of "rm ; mknod; chmod; chown". This means permissions & ownership of existing nodes will not be changed. This is up to 30% faster when populating an empty /dev, and nearly 2x faster when re-running on an existing /dev. * New options: -f force change of permission & ownership of existing devices -m mknod override name/path of mknod program (which defaults to $TOOL_MKNOD, then "mknod"). -s generate mtree(8) specfile instead of creating devices * Remove /usr/etc from $PATH; not needed anymore. * Provide functions to create devices & directories: mkdev name [b|c] major minor [mode{=600} [gid{=0} [uid{=0}]]] create device node `name' with the appropriate permissions lndev src target create a symlink from src to target makedir dir mode create directory with appropriate mode * UIDs and GIDs are hardcoded in at MAKEDEV generation time. (Unfortunately there's not a simple way of determining a GID a la "id -n user" for determining a UID). This was tested by generating MAKEDEV for each MACHINE,MACHINE_ARCH combination and comparing the results of "MAKEDEV all" from the previous version to the new one. (This testing actually highlighted mistakes in the previous configuration!) Simplify distrib/common/Makefile.makedev to use "MAKEDEV -s" @ text @d1 1 a1 1 # $NetBSD: MAKEDEV.conf,v 1.4 2003/12/21 16:27:34 lukem Exp $ d9 1 @ 1.5.16.1 log @Pull up following revision(s) (requested by hubertf in ticket #429): etc/etc.bebox/MAKEDEV.conf: revision 1.5 etc/etc.x68k/MAKEDEV.conf: revision 1.8 etc/etc.next68k/MAKEDEV.conf: revision 1.3 etc/etc.ofppc/MAKEDEV.conf: revision 1.5 etc/etc.hpcmips/MAKEDEV.conf: revision 1.4 etc/etc.amd64/MAKEDEV.conf: revision 1.8 etc/etc.algor/MAKEDEV.conf: revision 1.4 etc/etc.sparc64/MAKEDEV.conf: revision 1.12 etc/etc.hp300/MAKEDEV.conf: revision 1.11 etc/etc.sgimips/MAKEDEV.conf: revision 1.8 etc/etc.pc532/MAKEDEV.conf: revision 1.5 etc/etc.mvmeppc/MAKEDEV.conf: revision 1.6 etc/etc.mvme68k/MAKEDEV.conf: revision 1.6 etc/etc.pmppc/MAKEDEV.conf: revision 1.6 etc/etc.cobalt/MAKEDEV.conf: revision 1.4 etc/etc.evbmips/MAKEDEV.conf: revision 1.4 etc/etc.sparc/MAKEDEV.conf: revision 1.11 etc/etc.hpcarm/MAKEDEV.conf: revision 1.7 etc/etc.i386/MAKEDEV.conf: revision 1.12 etc/etc.acorn32/MAKEDEV.conf: revision 1.8 etc/etc.evbppc/MAKEDEV.conf: revision 1.5 etc/etc.amiga/MAKEDEV.conf: revision 1.10 etc/etc.prep/MAKEDEV.conf: revision 1.4 etc/etc.sandpoint/MAKEDEV.conf: revision 1.4 etc/MAKEDEV.tmpl: revision 1.71 etc/etc.alpha/MAKEDEV.conf: revision 1.7 etc/etc.ibmnws/MAKEDEV.conf: revision 1.6 etc/etc.macppc/MAKEDEV.conf: revision 1.7 etc/etc.mmeye/MAKEDEV.conf: revision 1.5 etc/etc.mac68k/MAKEDEV.conf: revision 1.7 etc/etc.vax/MAKEDEV.conf: revision 1.10 etc/etc.arc/MAKEDEV.conf: revision 1.6 etc/etc.hp700/MAKEDEV.conf: revision 1.4 etc/etc.mipsco/MAKEDEV.conf: revision 1.3 etc/etc.atari/MAKEDEV.conf: revision 1.7 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@@ @ text @d1 1 a1 1 # $NetBSD$ a8 1 makedev ses0 ses1 ses2 ses3 @ 1.4 log @also rm & chmod dtyC$unit @ text @d1 1 a1 1 # $NetBSD: MAKEDEV.conf,v 1.3 2003/10/24 08:20:26 jdolecek Exp $ d14 2 a15 4 rm -f ttyC$unit dtyC$unit mknod ttyC$unit c 13 $(($unit + $dialin )) mknod dtyC$unit c 13 $(($unit + $dialout)) chown uucp ttyC$unit dtyC$unit @ 1.3 log @sync with reality, put back some entries mistakely omitted in the initial conversion from MD MAKEDEV @ text @d1 1 a1 1 # $NetBSD: MAKEDEV.conf,v 1.2 2003/10/19 19:07:27 jdolecek Exp $ d13 2 a14 2 unit=${i#????} rm -f ttyC$unit d17 1 a17 1 chown uucp ttyC$unit @ 1.2 log @determine the platform number of disk partitions by looking at MAXPARTITIONS/OLDMAXPARTITIONS in kernel sources, so that it wouldn't need to be specified separately in MAKEDEV.conf change platform MAKEDEV.conf to contain only MD targets and nothing else; simplify the parsing in MAKEDEV.awk accordingly @ text @d1 1 a1 1 # $NetBSD: MAKEDEV.conf,v 1.1 2003/10/15 19:13:33 jdolecek Exp $ d15 2 a16 2 mknod ttyC$unit c %clmppc_chr% $(($unit + $dialin )) mknod dtyC$unit c %clmppc_chr% $(($unit + $dialout)) @ 1.1 log @MD part of unified MAKEDEV this contains information about disk partitions used by platform, and MD MAKEDEV targets, such as 'init', MD part of 'all', as well as any other MD-specific targets not covered by MAKEDEV.tmpl @ text @d1 1 a1 1 # $NetBSD: MAKEDEV,v 1.49 2003/10/03 14:35:38 dsl Exp $ a2 3 DISKPARTITIONS=8 MD_DEVICES= @