From 3ed110fb8d0cfe4b32643ce30261b1327d048bc0 Mon Sep 17 00:00:00 2001 From: kjc <> Date: Thu, 28 Jun 2001 02:58:57 +0000 Subject: [PATCH] add an entry for ALTQ. --- src/etc/etc.alpha/MAKEDEV | 18 ++++++++++++++++-- src/etc/etc.amiga/MAKEDEV | 18 ++++++++++++++++-- src/etc/etc.hp300/MAKEDEV | 18 ++++++++++++++++-- src/etc/etc.hppa/MAKEDEV | 18 ++++++++++++++++-- src/etc/etc.i386/MAKEDEV | 18 ++++++++++++++++-- src/etc/etc.mac68k/MAKEDEV | 18 ++++++++++++++++-- src/etc/etc.mvme68k/MAKEDEV | 20 +++++++++++++++++--- src/etc/etc.mvme88k/MAKEDEV | 18 ++++++++++++++++-- src/etc/etc.mvmeppc/MAKEDEV | 18 ++++++++++++++++-- src/etc/etc.powerpc/MAKEDEV | 18 ++++++++++++++++-- src/etc/etc.sparc/MAKEDEV | 18 ++++++++++++++++-- src/etc/etc.sun3/MAKEDEV | 18 ++++++++++++++++-- src/etc/etc.vax/MAKEDEV | 18 ++++++++++++++++-- 13 files changed, 209 insertions(+), 27 deletions(-) diff --git a/src/etc/etc.alpha/MAKEDEV b/src/etc/etc.alpha/MAKEDEV index 7087da09..5027b084 100644 --- a/src/etc/etc.alpha/MAKEDEV +++ b/src/etc/etc.alpha/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.58 2001/06/25 18:24:28 nate Exp $ +# $OpenBSD: MAKEDEV,v 1.59 2001/06/28 02:58:52 kjc Exp $ # $NetBSD: MAKEDEV,v 1.8.4.1 1996/06/18 00:41:56 cgd Exp $ # # Copyright (c) 1990 The Regents of the University of California. @@ -83,6 +83,7 @@ # *random inkernal random data source # uk* SCSI Unknown device # ss* SCSI scanners +# altq ALTQ control interface PATH=/sbin:/bin:/usr/bin:/usr/sbin this=$0 @@ -162,7 +163,7 @@ all) sh $this mmclock lpa0 lpt0 random sh $this uk0 uk1 ss0 ss1 sh $this ttyc0 ttyc1 ttyc2 ttyc3 ttyc4 ttyc5 ttyc6 ttyc7 - sh $this local xfs0 + sh $this local xfs0 altq sh $this usbs wscons ttyCcfg ;; @@ -587,6 +588,19 @@ xfs*) chown root.wheel xfs$unit ;; +altq) + mkdir -p altq + chmod 755 altq + unit=0 + for dev in altq cbq wfq afm fifoq red rio localq hfsc \ + cdnr blue priq; do + rm -f altq/$dev + mknod altq/$dev c 53 $unit + chmod 644 altq/$dev + unit=$(($unit + 1)) + done + ;; + local) umask 0 test -s MAKEDEV.local && sh $this.local diff --git a/src/etc/etc.amiga/MAKEDEV b/src/etc/etc.amiga/MAKEDEV index 035ac62b..9b85d7e5 100644 --- a/src/etc/etc.amiga/MAKEDEV +++ b/src/etc/etc.amiga/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.49 2001/06/25 03:19:47 kjell Exp $ +# $OpenBSD: MAKEDEV,v 1.50 2001/06/28 02:58:53 kjc Exp $ # $NetBSD: MAKEDEV,v 1.21 1996/05/19 21:03:49 veego Exp $ # # Copyright (c) 1990 The Regents of the University of California. @@ -91,6 +91,7 @@ # *random inkernal random data source # audio* one unit of the audio device. Unit 0 is custom chip audio. # joy* amiga joysticks +# altq ALTQ control interface PATH=/sbin:/bin:/usr/bin:/usr/sbin this=$0 @@ -169,7 +170,7 @@ all) sh $this view00 view01 view02 view03 view04 view05 pty0 pty1 sh $this lpa0 lpa1 lpt0 lpt1 lpt2 sh $this ccd0 ccd1 ccd2 ccd3 wd0 wd1 ch0 uk0 uk1 - sh $this pf tun0 tun1 par0 lkm ss0 random audio0 xfs0 local + sh $this pf tun0 tun1 par0 lkm ss0 random audio0 xfs0 altq local ;; floppy|ramdisk) @@ -676,6 +677,19 @@ xfs*) chown root.wheel xfs$unit ;; +altq) + mkdir -p altq + chmod 755 altq + unit=0 + for dev in altq cbq wfq afm fifoq red rio localq hfsc \ + cdnr blue priq; do + rm -f altq/$dev + mknod altq/$dev c 52 $unit + chmod 644 altq/$dev + unit=$(($unit + 1)) + done + ;; + local) umask 0 test -s MAKEDEV.local && sh $this.local diff --git a/src/etc/etc.hp300/MAKEDEV b/src/etc/etc.hp300/MAKEDEV index a147fe68..d922fa59 100644 --- a/src/etc/etc.hp300/MAKEDEV +++ b/src/etc/etc.hp300/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.34 2001/06/25 03:19:52 kjell Exp $ +# $OpenBSD: MAKEDEV,v 1.35 2001/06/28 02:58:53 kjc Exp $ # $NetBSD: MAKEDEV,v 1.12 1995/11/05 23:50:22 thorpej Exp $ # # Copyright (c) 1990 The Regents of the University of California. @@ -67,6 +67,7 @@ # lkm loadable kernel modules interface # *random inkernel random number generator # xfs* XFS filesystem devices +# altq ALTQ control interface # PATH=/sbin:/bin/:/usr/bin:/usr/sbin @@ -102,7 +103,7 @@ all) sh MAKEDEV sd0 sd1 sd2 rd0 rd1 pty0 vnd0 vnd1 vnd2 vnd3 sh MAKEDEV hil grf0 apci0 ppi0 ite0 dca0 dcm0 dcm1 dcm2 dcm3 sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 - sh MAKEDEV pf tun0 tun1 tun2 tun3 lkm random xfs0 + sh MAKEDEV pf tun0 tun1 tun2 tun3 lkm random xfs0 altq sh MAKEDEV local ;; @@ -513,6 +514,19 @@ xfs*) chown root.wheel xfs$unit ;; +altq) + mkdir -p altq + chmod 755 altq + unit=0 + for dev in altq cbq wfq afm fifoq red rio localq hfsc \ + cdnr blue priq; do + rm -f altq/$dev + mknod altq/$dev c 52 $unit + chmod 644 altq/$dev + unit=$(($unit + 1)) + done + ;; + local) umask 0 test -s MAKEDEV.local && sh MAKEDEV.local diff --git a/src/etc/etc.hppa/MAKEDEV b/src/etc/etc.hppa/MAKEDEV index 222edd4c..63ec74e8 100644 --- a/src/etc/etc.hppa/MAKEDEV +++ b/src/etc/etc.hppa/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.6 2001/06/25 03:19:57 kjell Exp $ +# $OpenBSD: MAKEDEV,v 1.7 2001/06/28 02:58:54 kjc Exp $ # @(#)MAKEDEV 5.5 (Berkeley) 5/28/91 # # Device "make" file. Valid arguments: @@ -31,6 +31,7 @@ # lkm loadable kernel modules interface # *random inkernel random number generator # xfs* XFS filesystem devices +# altq ALTQ control interface # PATH=/sbin:/bin/:/usr/bin:/usr/sbin @@ -105,7 +106,7 @@ all) sh MAKEDEV sd0 sd1 sd2 rd0 rd1 pty0 vnd0 vnd1 vnd2 vnd3 sh MAKEDEV hil com0 com1 com2 com3 sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 - sh MAKEDEV pf tun0 tun1 tun2 tun3 lkm random xfs0 + sh MAKEDEV pf tun0 tun1 tun2 tun3 lkm random xfs0 altq sh MAKEDEV local ;; @@ -328,6 +329,19 @@ xfs*) chown root.wheel xfs$unit ;; +altq) + mkdir -p altq + chmod 755 altq + unit=0 + for dev in altq cbq wfq afm fifoq red rio localq hfsc \ + cdnr blue priq; do + rm -f altq/$dev + mknod altq/$dev c 33 $unit + chmod 644 altq/$dev + unit=$(($unit + 1)) + done + ;; + local) umask 0 test -s MAKEDEV.local && sh MAKEDEV.local diff --git a/src/etc/etc.i386/MAKEDEV b/src/etc/etc.i386/MAKEDEV index d291e4fb..fbfd6768 100644 --- a/src/etc/etc.i386/MAKEDEV +++ b/src/etc/etc.i386/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.100 2001/06/24 23:36:02 kjell Exp $ +# $OpenBSD: MAKEDEV,v 1.101 2001/06/28 02:58:54 kjc Exp $ # $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $ # # Copyright (c) 1990 The Regents of the University of California. @@ -98,6 +98,7 @@ # bktr0 video capturing # tuner0 tuner device # wdt0 watchdog timer +# altq ALTQ control interface # PATH=/sbin:/usr/sbin:/bin:/usr/bin @@ -196,7 +197,7 @@ all) sh $this random ses0 uk0 uk1 ss0 ss1 pctr bktr0 tuner0 wdt0 sh $this fd0 fd0B fd0C fd0D fd0E fd0F fd0G fd0H sh $this fd1 fd1B fd1C fd1D fd1E fd1F fd1G fd1H - sh $this xfs0 music + sh $this xfs0 music altq sh $this rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7 sh $this usbs crypto # MISSING: @@ -756,6 +757,19 @@ pci*) chmod 664 pci ;; +altq) + mkdir -p altq + chmod 755 altq + unit=0 + for dev in altq cbq wfq afm fifoq red rio localq hfsc \ + cdnr blue priq; do + rm -f altq/$dev + mknod altq/$dev c 74 $unit + chmod 644 altq/$dev + unit=$(($unit + 1)) + done + ;; + local) umask 0 test -s $this.local && sh $this.local diff --git a/src/etc/etc.mac68k/MAKEDEV b/src/etc/etc.mac68k/MAKEDEV index 4f0c6625..e1674389 100644 --- a/src/etc/etc.mac68k/MAKEDEV +++ b/src/etc/etc.mac68k/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.34 2001/06/25 03:20:03 kjell Exp $ +# $OpenBSD: MAKEDEV,v 1.35 2001/06/28 02:58:54 kjc Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -62,6 +62,7 @@ # *random inkernal random data source # uk* SCSI Unknown device # ss* SCSI scanners +# altq ALTQ control interface # PATH=/sbin:/bin:/usr/bin:/usr/sbin @@ -143,7 +144,7 @@ all) sh $this lkm sh $this random sh $this uk0 uk1 - sh $this ss0 xfs0 + sh $this ss0 xfs0 altq sh $this local ;; @@ -480,6 +481,19 @@ xfs*) chown root.wheel xfs$unit ;; +altq) + mkdir -p altq + chmod 755 altq + unit=0 + for dev in altq cbq wfq afm fifoq red rio localq hfsc \ + cdnr blue priq; do + rm -f altq/$dev + mknod altq/$dev c 52 $unit + chmod 644 altq/$dev + unit=$(($unit + 1)) + done + ;; + local) umask 0 test -s MAKEDEV.local && sh $this.local diff --git a/src/etc/etc.mvme68k/MAKEDEV b/src/etc/etc.mvme68k/MAKEDEV index cfa854c6..bedf633e 100644 --- a/src/etc/etc.mvme68k/MAKEDEV +++ b/src/etc/etc.mvme68k/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.32 2001/06/25 03:20:07 kjell Exp $ +# $OpenBSD: MAKEDEV,v 1.33 2001/06/28 02:58:55 kjc Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -33,7 +33,7 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # -# $OpenBSD: MAKEDEV,v 1.32 2001/06/25 03:20:07 kjell Exp $ +# $OpenBSD: MAKEDEV,v 1.33 2001/06/28 02:58:55 kjc Exp $ # # Device "make" file. Valid arguments: # all makes all known devices, including local devices, @@ -71,6 +71,7 @@ # tun* network tunnel driver # uk* unknown SCSI # ss* SCSI scanners +# altq ALTQ control interface # # Machine specific devices: # sram static ram available on some models. @@ -98,7 +99,7 @@ all) #sh MAKEDEV lp0 lptwo0 sh MAKEDEV random sh MAKEDEV uk0 uk1 - sh MAKEDEV ss0 + sh MAKEDEV ss0 altq ;; std) @@ -475,6 +476,19 @@ ss*) ln -s ss$unit scan$unit ;; +altq) + mkdir -p altq + chmod 755 altq + unit=0 + for dev in altq cbq wfq afm fifoq red rio localq hfsc \ + cdnr blue priq; do + rm -f altq/$dev + mknod altq/$dev c 52 $unit + chmod 644 altq/$dev + unit=$(($unit + 1)) + done + ;; + local) umask 0 test -s MAKEDEV.local && sh MAKEDEV.local diff --git a/src/etc/etc.mvme88k/MAKEDEV b/src/etc/etc.mvme88k/MAKEDEV index 31f6216e..cf370e64 100644 --- a/src/etc/etc.mvme88k/MAKEDEV +++ b/src/etc/etc.mvme88k/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.13 2001/06/25 03:20:11 kjell Exp $ +# $OpenBSD: MAKEDEV,v 1.14 2001/06/28 02:58:55 kjc Exp $ # $NetBSD: MAKEDEV,v 1.5 1997/01/01 23:46:23 pk Exp $ # # Copyright (c) 1990 The Regents of the University of California. @@ -56,6 +56,7 @@ # ss* SCSI scanner # uk* SCSI unknown # ch* SCSI changer +# altq ALTQ control interface # # Machine specific devices: # sram static ram available on some models. @@ -85,7 +86,7 @@ all) #sh $this lp0 lptwo0 sh $this random sh $this uk0 uk1 - sh $this ss0 + sh $this ss0 altq ;; std) @@ -347,6 +348,19 @@ lkm) chmod 640 lkm ;; +altq) + mkdir -p altq + chmod 755 altq + unit=0 + for dev in altq cbq wfq afm fifoq red rio localq hfsc \ + cdnr blue priq; do + rm -f altq/$dev + mknod altq/$dev c 52 $unit + chmod 644 altq/$dev + unit=$(($unit + 1)) + done + ;; + local) umask 0 test -s MAKEDEV.local && sh MAKEDEV.local diff --git a/src/etc/etc.mvmeppc/MAKEDEV b/src/etc/etc.mvmeppc/MAKEDEV index 7f3d8411..fe8c9bd1 100644 --- a/src/etc/etc.mvmeppc/MAKEDEV +++ b/src/etc/etc.mvmeppc/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.1 2001/06/26 22:37:36 smurph Exp $ +# $OpenBSD: MAKEDEV,v 1.2 2001/06/28 02:58:56 kjc Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -77,6 +77,7 @@ # tun* network tunnel driver # lkm loadable kernel modules interface # *random inkernal random data source +# altq ALTQ control interface # PATH=/sbin:/bin:/usr/bin:/usr/sbin @@ -162,7 +163,7 @@ all) sh $this random uk0 uk1 ss0 ss1 sh $this wscons sh $this pci - sh $this lkm xfs0 + sh $this lkm xfs0 altq sh $this usbs sh $this local ;; @@ -634,6 +635,19 @@ xfs*) chown root.wheel xfs$unit ;; +altq) + mkdir -p altq + chmod 755 altq + unit=0 + for dev in altq cbq wfq afm fifoq red rio localq hfsc \ + cdnr blue priq; do + rm -f altq/$dev + mknod altq/$dev c 71 $unit + chmod 644 altq/$dev + unit=$(($unit + 1)) + done + ;; + local) umask 0 test -s MAKEDEV.local && sh $this.local diff --git a/src/etc/etc.powerpc/MAKEDEV b/src/etc/etc.powerpc/MAKEDEV index a568c52c..e2d449e2 100644 --- a/src/etc/etc.powerpc/MAKEDEV +++ b/src/etc/etc.powerpc/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.50 2001/06/26 07:04:17 drahn Exp $ +# $OpenBSD: MAKEDEV,v 1.51 2001/06/28 02:58:56 kjc Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -77,6 +77,7 @@ # tun* network tunnel driver # lkm loadable kernel modules interface # *random inkernal random data source +# altq ALTQ control interface # PATH=/sbin:/bin:/usr/bin:/usr/sbin @@ -162,7 +163,7 @@ all) sh $this random uk0 uk1 ss0 ss1 sh $this wscons sh $this pci - sh $this lkm xfs0 + sh $this lkm xfs0 altq sh $this usbs sh $this local ;; @@ -634,6 +635,19 @@ xfs*) chown root.wheel xfs$unit ;; +altq) + mkdir -p altq + chmod 755 altq + unit=0 + for dev in altq cbq wfq afm fifoq red rio localq hfsc \ + cdnr blue priq; do + rm -f altq/$dev + mknod altq/$dev c 72 $unit + chmod 644 altq/$dev + unit=$(($unit + 1)) + done + ;; + local) umask 0 test -s MAKEDEV.local && sh $this.local diff --git a/src/etc/etc.sparc/MAKEDEV b/src/etc/etc.sparc/MAKEDEV index d387b4de..1f8ab4c4 100644 --- a/src/etc/etc.sparc/MAKEDEV +++ b/src/etc/etc.sparc/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.68 2001/06/25 03:20:17 kjell Exp $ +# $OpenBSD: MAKEDEV,v 1.69 2001/06/28 02:58:56 kjc Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -86,6 +86,7 @@ # spif* spif card (makes 8 tty and 1 bpp) # bpp* bpp # xfs* XFS filesystem devices +# altq ALTQ control interface PATH=/sbin:/bin:/usr/bin:/usr/sbin this=$0 @@ -208,7 +209,7 @@ all) sh $this bwtwo0 cgtwo0 cgthree0 cgfour0 cgsix0 sh $this cgeight0 cgfourteen0 tcx0 sh $this lkm random local - sh $this xfs0 + sh $this xfs0 altq ;; floppy) @@ -734,6 +735,19 @@ ss*) ln -s ss$unit scan$unit ;; +altq) + mkdir -p altq + chmod 755 altq + unit=0 + for dev in altq cbq wfq afm fifoq red rio localq hfsc \ + cdnr blue priq; do + rm -f altq/$dev + mknod altq/$dev c 125 $unit + chmod 644 altq/$dev + unit=$(($unit + 1)) + done + ;; + local) umask 0 test -s MAKEDEV.local && sh MAKEDEV.local diff --git a/src/etc/etc.sun3/MAKEDEV b/src/etc/etc.sun3/MAKEDEV index 5a53039a..e58e6ecb 100644 --- a/src/etc/etc.sun3/MAKEDEV +++ b/src/etc/etc.sun3/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.36 2001/06/25 03:20:20 kjell Exp $ +# $OpenBSD: MAKEDEV,v 1.37 2001/06/28 02:58:57 kjc Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -70,6 +70,7 @@ # tun* network tunnel driver # *random inkernal random data source # xfs* XFS filesystem devices +# altq ALTQ control interface PATH=/sbin:/bin:/usr/bin:/usr/sbin this=$0 @@ -188,7 +189,7 @@ all) sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 sh $this bwtwo0 cgtwo0 cgfour0 sh $this random local - sh $this xfs0 + sh $this xfs0 altq ;; ramdisk) @@ -482,6 +483,19 @@ ss*) ln -s ss$unit scan$unit ;; +altq) + mkdir -p altq + chmod 755 altq + unit=0 + for dev in altq cbq wfq afm fifoq red rio localq hfsc \ + cdnr blue priq; do + rm -f altq/$dev + mknod altq/$dev c 85 $unit + chmod 644 altq/$dev + unit=$(($unit + 1)) + done + ;; + local) umask 0 test -s MAKEDEV.local && sh MAKEDEV.local diff --git a/src/etc/etc.vax/MAKEDEV b/src/etc/etc.vax/MAKEDEV index f3682282..35fce977 100644 --- a/src/etc/etc.vax/MAKEDEV +++ b/src/etc/etc.vax/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.30 2001/06/25 03:20:24 kjell Exp $ +# $OpenBSD: MAKEDEV,v 1.31 2001/06/28 02:58:57 kjc Exp $ # $NetBSD: MAKEDEV,v 1.30 2000/01/21 12:28:29 tsutsui Exp $ # # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 @@ -62,6 +62,7 @@ # uk* SCSI unknown # ch* SCSI changer # *random Random number generator +# altq ALTQ control interface # PATH=/sbin:/usr/sbin:/bin:/usr/bin set -A cnvtbl 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v @@ -71,7 +72,7 @@ do case $i in all) - sh $0 std fd vnd0 ccd0 pty0 pty1 lkm random + sh $0 std fd vnd0 ccd0 pty0 pty1 lkm random altq sh $0 bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 pf tun0 tun1 sh $0 mt0 mt1 ts0 ts1 st0 st1 uk0 ss0 cd0 vt0 sh $0 ra0 ra1 ra2 ra3 hp0 hp1 hp2 hp3 sd0 sd1 sd2 sd3 hd0 hd1 hd2 @@ -625,6 +626,19 @@ ttyv0) mv ptyqf ptyv0 ;; +altq) + mkdir -p altq + chmod 755 altq + unit=0 + for dev in altq cbq wfq afm fifoq red rio localq hfsc \ + cdnr blue priq; do + rm -f altq/$dev + mknod altq/$dev c 75 $unit + chmod 644 altq/$dev + unit=$(($unit + 1)) + done + ;; + local) umask 0 sh $0.local all