diff options
-rw-r--r-- | etc/etc.alpha/MAKEDEV | 38 | ||||
-rw-r--r-- | etc/etc.amd64/MAKEDEV | 40 | ||||
-rw-r--r-- | etc/etc.cats/MAKEDEV | 30 | ||||
-rw-r--r-- | etc/etc.hp300/MAKEDEV | 26 | ||||
-rw-r--r-- | etc/etc.hppa/MAKEDEV | 32 | ||||
-rw-r--r-- | etc/etc.i386/MAKEDEV | 40 | ||||
-rw-r--r-- | etc/etc.mac68k/MAKEDEV | 30 | ||||
-rw-r--r-- | etc/etc.macppc/MAKEDEV | 30 | ||||
-rw-r--r-- | etc/etc.mvme68k/MAKEDEV | 26 | ||||
-rw-r--r-- | etc/etc.mvme88k/MAKEDEV | 26 | ||||
-rw-r--r-- | etc/etc.pegasos/MAKEDEV | 30 | ||||
-rw-r--r-- | etc/etc.sparc/MAKEDEV | 32 | ||||
-rw-r--r-- | etc/etc.sparc64/MAKEDEV | 36 | ||||
-rw-r--r-- | etc/etc.vax/MAKEDEV | 28 |
14 files changed, 250 insertions, 194 deletions
diff --git a/etc/etc.alpha/MAKEDEV b/etc/etc.alpha/MAKEDEV index 2ff66978932..f9aa2514257 100644 --- a/etc/etc.alpha/MAKEDEV +++ b/etc/etc.alpha/MAKEDEV @@ -3,8 +3,8 @@ # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # generated from: # -# OpenBSD: etc.alpha/MAKEDEV.md,v 1.23 2004/03/12 04:54:04 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.4 2004/03/12 04:54:04 deraadt Exp +# OpenBSD: etc.alpha/MAKEDEV.md,v 1.24 2004/04/11 18:05:23 millert Exp +# OpenBSD: MAKEDEV.common,v 1.6 2004/04/11 18:05:22 millert Exp # OpenBSD: MAKEDEV.mi,v 1.72 2004/02/16 18:58:53 miod Exp # OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp # @@ -47,8 +47,8 @@ # ttyc* Cyclades serial ports # Pseudo terminals: # ptm pty master device -# pty* Set of 16 master pseudo terminals -# tty* Set of 16 slave pseudo terminals +# pty* Set of 62 pseudo terminals +tty_dev # Console ports: # ttyC0 Minimal wscons devices # ttyC-F* wscons display devices @@ -409,13 +409,17 @@ pty*) echo bad unit for pty in: $i continue fi - set -A tbl p q r s t u v w x y z P Q R S T - name=${tbl[$U]} + set -A letters p q r s t u v w x y z P Q R S T + set -A suffixes 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 w x y z A B C D E F G H I J K L M N O P Q R S T U V W X \ + Y Z + + name=${letters[$U]} n=0 - while [ $n -lt 16 ] + while [ $n -lt 62 ] do - nam=$name$(hex $n) - off=$(($U*16)) + nam=$name${suffixes[$n]} + off=$(($U*62)) M tty$nam c 4 $(($off+$n)) M pty$nam c 5 $(($off+$n)) n=$(($n+1)) @@ -495,14 +499,14 @@ local) all) R ccd0 ccd1 ccd2 ccd3 vnd0 vnd1 vnd2 vnd3 sd0 sd1 sd2 sd3 sd4 R cd0 cd1 rd0 tun0 tun1 tun2 tun3 bpf0 bpf1 bpf2 bpf3 bpf4 - R bpf5 bpf6 bpf7 bpf8 bpf9 pty0 pty1 pty2 fd1 fd1B fd1C fd1D - R fd1E fd1F fd1G fd1H fd0 fd0B fd0C fd0D fd0E fd0F fd0G fd0H - R xfs0 ss0 ss1 ch0 ptm local wscons pci iop0 iop1 uall rmidi0 - R rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7 music0 - R speaker audio0 uk0 random lpa0 lpa1 lpa2 lpt0 lpt1 lpt2 lkm - R tty00 tty01 tty02 tty03 ttyc0 ttyc1 ttyc2 ttyc3 ttyc4 ttyc5 - R ttyc6 ttyc7 ttyB0 ttyB1 ttyB2 ttyB3 ttyB4 ttyB5 pf systrace - R wd0 wd1 wd2 wd3 raid0 raid1 raid2 raid3 std st0 st1 fd + R bpf5 bpf6 bpf7 bpf8 bpf9 pty0 fd1 fd1B fd1C fd1D fd1E fd1F + R fd1G fd1H fd0 fd0B fd0C fd0D fd0E fd0F fd0G fd0H xfs0 ss0 + R ss1 ch0 ptm local wscons pci iop0 iop1 uall rmidi0 rmidi1 + R rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7 music0 speaker + R audio0 uk0 random lpa0 lpa1 lpa2 lpt0 lpt1 lpt2 lkm tty00 + R tty01 tty02 tty03 ttyc0 ttyc1 ttyc2 ttyc3 ttyc4 ttyc5 ttyc6 + R ttyc7 ttyB0 ttyB1 ttyB2 ttyB3 ttyB4 ttyB5 pf systrace wd0 + R wd1 wd2 wd3 raid0 raid1 raid2 raid3 std st0 st1 fd ;; wd*|sd*|raid*|ccd*) diff --git a/etc/etc.amd64/MAKEDEV b/etc/etc.amd64/MAKEDEV index c52376712d8..90ad2b327bf 100644 --- a/etc/etc.amd64/MAKEDEV +++ b/etc/etc.amd64/MAKEDEV @@ -3,8 +3,8 @@ # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # generated from: # -# OpenBSD: etc.amd64/MAKEDEV.md,v 1.5 2004/03/12 04:54:04 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.4 2004/03/12 04:54:04 deraadt Exp +# OpenBSD: etc.amd64/MAKEDEV.md,v 1.6 2004/04/11 18:05:23 millert Exp +# OpenBSD: MAKEDEV.common,v 1.6 2004/04/11 18:05:22 millert Exp # OpenBSD: MAKEDEV.mi,v 1.72 2004/02/16 18:58:53 miod Exp # OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp # @@ -50,8 +50,8 @@ # tun* Network tunnel driver # Pseudo terminals: # ptm pty master device -# pty* Set of 16 master pseudo terminals -# tty* Set of 16 slave pseudo terminals +# pty* Set of 62 pseudo terminals +tty_dev # Console ports: # ttyC0 Minimal wscons devices # ttyC-F* wscons display devices @@ -464,13 +464,17 @@ pty*) echo bad unit for pty in: $i continue fi - set -A tbl p q r s t u v w x y z P Q R S T - name=${tbl[$U]} + set -A letters p q r s t u v w x y z P Q R S T + set -A suffixes 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 w x y z A B C D E F G H I J K L M N O P Q R S T U V W X \ + Y Z + + name=${letters[$U]} n=0 - while [ $n -lt 16 ] + while [ $n -lt 62 ] do - nam=$name$(hex $n) - off=$(($U*16)) + nam=$name${suffixes[$n]} + off=$(($U*62)) M tty$nam c 5 $(($off+$n)) M pty$nam c 6 $(($off+$n)) n=$(($n+1)) @@ -567,15 +571,15 @@ local) all) R bktr0 ccd0 ccd1 ccd2 ccd3 vnd0 vnd1 vnd2 vnd3 sd0 sd1 sd2 R sd3 sd4 cd0 cd1 rd0 tun0 tun1 tun2 tun3 bpf0 bpf1 bpf2 bpf3 - R bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 pty0 pty1 pty2 fd1 fd1B fd1C - R fd1D fd1E fd1F fd1G fd1H fd0 fd0B fd0C fd0D fd0E fd0F fd0G - R fd0H xfs0 ss0 ss1 ch0 ses0 ptm gpr0 local wscons pci iop0 - R iop1 uall rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 - R rmidi7 tuner0 radio0 music0 speaker audio0 wdt0 wt0 uk0 - R random joy0 joy1 lpa0 lpa1 lpa2 lpt0 lpt1 lpt2 lkm tty00 - R tty01 tty02 tty03 ttyc0 ttyc1 ttyc2 ttyc3 ttyc4 ttyc5 ttyc6 - R ttyc7 apm crypto pf pctr systrace wd0 wd1 wd2 wd3 raid0 - R raid1 raid2 raid3 std st0 st1 fd mcd0 + R bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 pty0 fd1 fd1B fd1C fd1D fd1E + R fd1F fd1G fd1H fd0 fd0B fd0C fd0D fd0E fd0F fd0G fd0H xfs0 + R ss0 ss1 ch0 ses0 ptm gpr0 local wscons pci iop0 iop1 uall + R rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7 + R tuner0 radio0 music0 speaker audio0 wdt0 wt0 uk0 random joy0 + R joy1 lpa0 lpa1 lpa2 lpt0 lpt1 lpt2 lkm tty00 tty01 tty02 + R tty03 ttyc0 ttyc1 ttyc2 ttyc3 ttyc4 ttyc5 ttyc6 ttyc7 apm + R crypto pf pctr systrace wd0 wd1 wd2 wd3 raid0 raid1 raid2 + R raid3 std st0 st1 fd mcd0 ;; wd*|sd*|raid*|ccd*) diff --git a/etc/etc.cats/MAKEDEV b/etc/etc.cats/MAKEDEV index 01f8f5c0bbd..2e3989cdef8 100644 --- a/etc/etc.cats/MAKEDEV +++ b/etc/etc.cats/MAKEDEV @@ -3,8 +3,8 @@ # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # generated from: # -# OpenBSD: etc.cats/MAKEDEV.md,v 1.7 2004/03/12 04:54:05 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.4 2004/03/12 04:54:04 deraadt Exp +# OpenBSD: etc.cats/MAKEDEV.md,v 1.8 2004/04/11 18:05:23 millert Exp +# OpenBSD: MAKEDEV.common,v 1.6 2004/04/11 18:05:22 millert Exp # OpenBSD: MAKEDEV.mi,v 1.72 2004/02/16 18:58:53 miod Exp # OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp # @@ -44,8 +44,8 @@ # tty[0-7][0-9a-f] NS16x50 serial ports # Pseudo terminals: # ptm pty master device -# pty* Set of 16 master pseudo terminals -# tty* Set of 16 slave pseudo terminals +# pty* Set of 62 pseudo terminals +tty_dev # Console ports: # ttyC0 Minimal wscons devices # ttyC-F* wscons display devices @@ -393,13 +393,17 @@ pty*) echo bad unit for pty in: $i continue fi - set -A tbl p q r s t u v w x y z P Q R S T - name=${tbl[$U]} + set -A letters p q r s t u v w x y z P Q R S T + set -A suffixes 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 w x y z A B C D E F G H I J K L M N O P Q R S T U V W X \ + Y Z + + name=${letters[$U]} n=0 - while [ $n -lt 16 ] + while [ $n -lt 62 ] do - nam=$name$(hex $n) - off=$(($U*16)) + nam=$name${suffixes[$n]} + off=$(($U*62)) M tty$nam c 4 $(($off+$n)) M pty$nam c 5 $(($off+$n)) n=$(($n+1)) @@ -456,10 +460,10 @@ ramdisk) all) R ccd0 ccd1 ccd2 ccd3 vnd0 vnd1 vnd2 vnd3 sd0 sd1 sd2 sd3 sd4 R cd0 cd1 rd0 tun0 tun1 tun2 tun3 bpf0 bpf1 bpf2 bpf3 bpf4 - R bpf5 bpf6 bpf7 bpf8 bpf9 pty0 pty1 pty2 xfs0 ss0 ss1 ch0 ptm - R local wscons pci iop0 iop1 uall tuner0 radio0 audio0 uk0 - R random lkm tty00 tty01 tty02 tty03 crypto pf systrace wd0 - R wd1 wd2 wd3 raid0 raid1 raid2 raid3 std st0 st1 fd + R bpf5 bpf6 bpf7 bpf8 bpf9 pty0 xfs0 ss0 ss1 ch0 ptm local + R wscons pci iop0 iop1 uall tuner0 radio0 audio0 uk0 random + R lkm tty00 tty01 tty02 tty03 crypto pf systrace wd0 wd1 wd2 + R wd3 raid0 raid1 raid2 raid3 std st0 st1 fd ;; wd*|sd*|raid*|ccd*) diff --git a/etc/etc.hp300/MAKEDEV b/etc/etc.hp300/MAKEDEV index 2908220c5ff..e0c54971d77 100644 --- a/etc/etc.hp300/MAKEDEV +++ b/etc/etc.hp300/MAKEDEV @@ -3,8 +3,8 @@ # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # generated from: # -# OpenBSD: etc.hp300/MAKEDEV.md,v 1.19 2004/02/20 19:13:08 miod Exp -# OpenBSD: MAKEDEV.common,v 1.4 2004/03/12 04:54:04 deraadt Exp +# OpenBSD: etc.hp300/MAKEDEV.md,v 1.21 2004/04/11 18:05:23 millert Exp +# OpenBSD: MAKEDEV.common,v 1.6 2004/04/11 18:05:22 millert Exp # OpenBSD: MAKEDEV.mi,v 1.72 2004/02/16 18:58:53 miod Exp # OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp # @@ -45,8 +45,8 @@ # dcm* HP200/300 4 port serial mux interface # Pseudo terminals: # ptm pty master device -# pty* Set of 16 master pseudo terminals -# tty* Set of 16 slave pseudo terminals +# pty* Set of 62 pseudo terminals +tty_dev # Console ports: # grf* Raw interface to HP300 graphics devices # ite* Terminal emulator interface to HP300 graphics devices @@ -351,13 +351,17 @@ pty*) echo bad unit for pty in: $i continue fi - set -A tbl p q r s t u v w x y z P Q R S T - name=${tbl[$U]} + set -A letters p q r s t u v w x y z P Q R S T + set -A suffixes 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 w x y z A B C D E F G H I J K L M N O P Q R S T U V W X \ + Y Z + + name=${letters[$U]} n=0 - while [ $n -lt 16 ] + while [ $n -lt 62 ] do - nam=$name$(hex $n) - off=$(($U*16)) + nam=$name${suffixes[$n]} + off=$(($U*62)) M tty$nam c 4 $(($off+$n)) M pty$nam c 5 $(($off+$n)) n=$(($n+1)) @@ -409,8 +413,8 @@ all) R ite0 ct0 ct1 hd0 hd1 hd2 dcm0 dcm1 dcm2 dcm3 dca0 dca1 st0 R st1 hil grf0 ccd0 ccd1 ccd2 ccd3 vnd0 vnd1 vnd2 vnd3 sd0 sd1 R sd2 sd3 sd4 rd0 tun0 tun1 tun2 tun3 bpf0 bpf1 bpf2 bpf3 bpf4 - R bpf5 bpf6 bpf7 bpf8 bpf9 pty0 pty1 pty2 xfs0 ptm local ppi0 - R apci0 random lkm pf systrace std fd + R bpf5 bpf6 bpf7 bpf8 bpf9 pty0 xfs0 ptm local ppi0 apci0 + R random lkm pf systrace std fd ;; sd*|hd*|ccd*) diff --git a/etc/etc.hppa/MAKEDEV b/etc/etc.hppa/MAKEDEV index b7e684304d5..d6edc7e3144 100644 --- a/etc/etc.hppa/MAKEDEV +++ b/etc/etc.hppa/MAKEDEV @@ -3,8 +3,8 @@ # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # generated from: # -# OpenBSD: etc.hppa/MAKEDEV.md,v 1.19 2004/02/16 19:01:01 miod Exp -# OpenBSD: MAKEDEV.common,v 1.4 2004/03/12 04:54:04 deraadt Exp +# OpenBSD: etc.hppa/MAKEDEV.md,v 1.20 2004/04/11 18:05:23 millert Exp +# OpenBSD: MAKEDEV.common,v 1.6 2004/04/11 18:05:22 millert Exp # OpenBSD: MAKEDEV.mi,v 1.72 2004/02/16 18:58:53 miod Exp # OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp # @@ -43,8 +43,8 @@ # tty[0-7][0-9a-f] NS16x50 serial ports # Pseudo terminals: # ptm pty master device -# pty* Set of 16 master pseudo terminals -# tty* Set of 16 slave pseudo terminals +# pty* Set of 62 pseudo terminals +tty_dev # Console ports: # ttyC0 Minimal wscons devices # ttyC-F* wscons display devices @@ -342,13 +342,17 @@ pty*) echo bad unit for pty in: $i continue fi - set -A tbl p q r s t u v w x y z P Q R S T - name=${tbl[$U]} + set -A letters p q r s t u v w x y z P Q R S T + set -A suffixes 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 w x y z A B C D E F G H I J K L M N O P Q R S T U V W X \ + Y Z + + name=${letters[$U]} n=0 - while [ $n -lt 16 ] + while [ $n -lt 62 ] do - nam=$name$(hex $n) - off=$(($U*16)) + nam=$name${suffixes[$n]} + off=$(($U*62)) M tty$nam c 4 $(($off+$n)) M pty$nam c 5 $(($off+$n)) n=$(($n+1)) @@ -428,11 +432,11 @@ local) all) R ccd0 ccd1 ccd2 ccd3 vnd0 vnd1 vnd2 vnd3 sd0 sd1 sd2 sd3 sd4 R cd0 cd1 rd0 tun0 tun1 tun2 tun3 bpf0 bpf1 bpf2 bpf3 bpf4 - R bpf5 bpf6 bpf7 bpf8 bpf9 pty0 pty1 pty2 fd1 fd1B fd1C fd1D - R fd1E fd1F fd1G fd1H fd0 fd0B fd0C fd0D fd0E fd0F fd0G fd0H - R xfs0 ss0 ss1 ch0 ses0 ptm local wscons pci audio0 uk0 random - R lpa0 lpa1 lpa2 lpt0 lpt1 lpt2 lkm tty00 tty01 tty02 tty03 - R crypto pf systrace std st0 st1 fd + R bpf5 bpf6 bpf7 bpf8 bpf9 pty0 fd1 fd1B fd1C fd1D fd1E fd1F + R fd1G fd1H fd0 fd0B fd0C fd0D fd0E fd0F fd0G fd0H xfs0 ss0 + R ss1 ch0 ses0 ptm local wscons pci audio0 uk0 random lpa0 + R lpa1 lpa2 lpt0 lpt1 lpt2 lkm tty00 tty01 tty02 tty03 crypto + R pf systrace std st0 st1 fd ;; sd*|ccd*) diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index dfeda6e078f..f7c1e85ea74 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -3,8 +3,8 @@ # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # generated from: # -# OpenBSD: etc.i386/MAKEDEV.md,v 1.22 2004/03/12 04:54:05 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.4 2004/03/12 04:54:04 deraadt Exp +# OpenBSD: etc.i386/MAKEDEV.md,v 1.23 2004/04/11 18:05:23 millert Exp +# OpenBSD: MAKEDEV.common,v 1.6 2004/04/11 18:05:22 millert Exp # OpenBSD: MAKEDEV.mi,v 1.72 2004/02/16 18:58:53 miod Exp # OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp # @@ -50,8 +50,8 @@ # tun* Network tunnel driver # Pseudo terminals: # ptm pty master device -# pty* Set of 16 master pseudo terminals -# tty* Set of 16 slave pseudo terminals +# pty* Set of 62 pseudo terminals +tty_dev # Console ports: # ttyC0 Minimal wscons devices # ttyC-F* wscons display devices @@ -464,13 +464,17 @@ pty*) echo bad unit for pty in: $i continue fi - set -A tbl p q r s t u v w x y z P Q R S T - name=${tbl[$U]} + set -A letters p q r s t u v w x y z P Q R S T + set -A suffixes 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 w x y z A B C D E F G H I J K L M N O P Q R S T U V W X \ + Y Z + + name=${letters[$U]} n=0 - while [ $n -lt 16 ] + while [ $n -lt 62 ] do - nam=$name$(hex $n) - off=$(($U*16)) + nam=$name${suffixes[$n]} + off=$(($U*62)) M tty$nam c 5 $(($off+$n)) M pty$nam c 6 $(($off+$n)) n=$(($n+1)) @@ -567,15 +571,15 @@ local) all) R bktr0 ccd0 ccd1 ccd2 ccd3 vnd0 vnd1 vnd2 vnd3 sd0 sd1 sd2 R sd3 sd4 cd0 cd1 rd0 tun0 tun1 tun2 tun3 bpf0 bpf1 bpf2 bpf3 - R bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 pty0 pty1 pty2 fd1 fd1B fd1C - R fd1D fd1E fd1F fd1G fd1H fd0 fd0B fd0C fd0D fd0E fd0F fd0G - R fd0H xfs0 ss0 ss1 ch0 ses0 ptm gpr0 local wscons pci iop0 - R iop1 uall rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 - R rmidi7 tuner0 radio0 music0 speaker audio0 wdt0 wt0 uk0 - R random joy0 joy1 lpa0 lpa1 lpa2 lpt0 lpt1 lpt2 lkm tty00 - R tty01 tty02 tty03 ttyc0 ttyc1 ttyc2 ttyc3 ttyc4 ttyc5 ttyc6 - R ttyc7 apm crypto pf pctr systrace wd0 wd1 wd2 wd3 raid0 - R raid1 raid2 raid3 std st0 st1 fd mcd0 + R bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 pty0 fd1 fd1B fd1C fd1D fd1E + R fd1F fd1G fd1H fd0 fd0B fd0C fd0D fd0E fd0F fd0G fd0H xfs0 + R ss0 ss1 ch0 ses0 ptm gpr0 local wscons pci iop0 iop1 uall + R rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7 + R tuner0 radio0 music0 speaker audio0 wdt0 wt0 uk0 random joy0 + R joy1 lpa0 lpa1 lpa2 lpt0 lpt1 lpt2 lkm tty00 tty01 tty02 + R tty03 ttyc0 ttyc1 ttyc2 ttyc3 ttyc4 ttyc5 ttyc6 ttyc7 apm + R crypto pf pctr systrace wd0 wd1 wd2 wd3 raid0 raid1 raid2 + R raid3 std st0 st1 fd mcd0 ;; wd*|sd*|raid*|ccd*) diff --git a/etc/etc.mac68k/MAKEDEV b/etc/etc.mac68k/MAKEDEV index 11137d8f302..c6be0271098 100644 --- a/etc/etc.mac68k/MAKEDEV +++ b/etc/etc.mac68k/MAKEDEV @@ -3,8 +3,8 @@ # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # generated from: # -# OpenBSD: etc.mac68k/MAKEDEV.md,v 1.16 2004/02/20 19:13:08 miod Exp -# OpenBSD: MAKEDEV.common,v 1.4 2004/03/12 04:54:04 deraadt Exp +# OpenBSD: etc.mac68k/MAKEDEV.md,v 1.17 2004/04/11 18:05:23 millert Exp +# OpenBSD: MAKEDEV.common,v 1.6 2004/04/11 18:05:22 millert Exp # OpenBSD: MAKEDEV.mi,v 1.72 2004/02/16 18:58:53 miod Exp # OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp # @@ -43,8 +43,8 @@ # ttye* ITE bitmapped consoles # Pseudo terminals: # ptm pty master device -# pty* Set of 16 master pseudo terminals -# tty* Set of 16 slave pseudo terminals +# pty* Set of 62 pseudo terminals +tty_dev # Console ports: # adb Apple Desktop bus event interface # grf* Raw interface to the mac68k graphics devices @@ -311,13 +311,17 @@ pty*) echo bad unit for pty in: $i continue fi - set -A tbl p q r s t u v w x y z P Q R S T - name=${tbl[$U]} + set -A letters p q r s t u v w x y z P Q R S T + set -A suffixes 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 w x y z A B C D E F G H I J K L M N O P Q R S T U V W X \ + Y Z + + name=${letters[$U]} n=0 - while [ $n -lt 16 ] + while [ $n -lt 62 ] do - nam=$name$(hex $n) - off=$(($U*16)) + nam=$name${suffixes[$n]} + off=$(($U*62)) M tty$nam c 4 $(($off+$n)) M pty$nam c 5 $(($off+$n)) n=$(($n+1)) @@ -366,10 +370,10 @@ ramdisk) all) R ttye0 ccd0 ccd1 ccd2 ccd3 cd0 cd1 rd0 tun0 tun1 tun2 tun3 - R bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 pty0 pty1 - R pty2 xfs0 ss0 ss1 ch0 vnd0 vnd1 vnd2 vnd3 sd0 sd1 sd2 sd3 - R sd4 ptm local grf0 grf1 grf2 grf3 adb asc0 uk0 random lkm - R tty00 tty01 pf systrace std st0 st1 fd + R bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 pty0 xfs0 + R ss0 ss1 ch0 vnd0 vnd1 vnd2 vnd3 sd0 sd1 sd2 sd3 sd4 ptm + R local grf0 grf1 grf2 grf3 adb asc0 uk0 random lkm tty00 + R tty01 pf systrace std st0 st1 fd ;; sd*|ccd*) diff --git a/etc/etc.macppc/MAKEDEV b/etc/etc.macppc/MAKEDEV index 2a9478ed935..d1d9671acc6 100644 --- a/etc/etc.macppc/MAKEDEV +++ b/etc/etc.macppc/MAKEDEV @@ -3,8 +3,8 @@ # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # generated from: # -# OpenBSD: etc.macppc/MAKEDEV.md,v 1.17 2004/03/12 04:54:05 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.4 2004/03/12 04:54:04 deraadt Exp +# OpenBSD: etc.macppc/MAKEDEV.md,v 1.18 2004/04/11 18:05:23 millert Exp +# OpenBSD: MAKEDEV.common,v 1.6 2004/04/11 18:05:22 millert Exp # OpenBSD: MAKEDEV.mi,v 1.72 2004/02/16 18:58:53 miod Exp # OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp # @@ -44,8 +44,8 @@ # tty[0-7][0-9a-f] NS16x50 serial ports # Pseudo terminals: # ptm pty master device -# pty* Set of 16 master pseudo terminals -# tty* Set of 16 slave pseudo terminals +# pty* Set of 62 pseudo terminals +tty_dev # Console ports: # ttyC0 Minimal wscons devices # ttyC-F* wscons display devices @@ -401,13 +401,17 @@ pty*) echo bad unit for pty in: $i continue fi - set -A tbl p q r s t u v w x y z P Q R S T - name=${tbl[$U]} + set -A letters p q r s t u v w x y z P Q R S T + set -A suffixes 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 w x y z A B C D E F G H I J K L M N O P Q R S T U V W X \ + Y Z + + name=${letters[$U]} n=0 - while [ $n -lt 16 ] + while [ $n -lt 62 ] do - nam=$name$(hex $n) - off=$(($U*16)) + nam=$name${suffixes[$n]} + off=$(($U*62)) M tty$nam c 4 $(($off+$n)) M pty$nam c 5 $(($off+$n)) n=$(($n+1)) @@ -464,10 +468,10 @@ ramdisk) all) R ccd0 ccd1 ccd2 ccd3 vnd0 vnd1 vnd2 vnd3 sd0 sd1 sd2 sd3 sd4 R cd0 cd1 rd0 tun0 tun1 tun2 tun3 bpf0 bpf1 bpf2 bpf3 bpf4 - R bpf5 bpf6 bpf7 bpf8 bpf9 pty0 pty1 pty2 xfs0 ss0 ss1 ch0 ptm - R local wscons pci iop0 iop1 uall tuner0 radio0 audio0 uk0 - R random lkm tty00 tty01 tty02 tty03 apm crypto pf systrace - R wd0 wd1 wd2 wd3 raid0 raid1 raid2 raid3 std st0 st1 fd + R bpf5 bpf6 bpf7 bpf8 bpf9 pty0 xfs0 ss0 ss1 ch0 ptm local + R wscons pci iop0 iop1 uall tuner0 radio0 audio0 uk0 random + R lkm tty00 tty01 tty02 tty03 apm crypto pf systrace wd0 wd1 + R wd2 wd3 raid0 raid1 raid2 raid3 std st0 st1 fd ;; wd*|sd*|raid*|ccd*) diff --git a/etc/etc.mvme68k/MAKEDEV b/etc/etc.mvme68k/MAKEDEV index 7b602de23ac..869a5b64bfe 100644 --- a/etc/etc.mvme68k/MAKEDEV +++ b/etc/etc.mvme68k/MAKEDEV @@ -3,8 +3,8 @@ # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # generated from: # -# OpenBSD: etc.mvme68k/MAKEDEV.md,v 1.13 2004/02/20 19:13:08 miod Exp -# OpenBSD: MAKEDEV.common,v 1.4 2004/03/12 04:54:04 deraadt Exp +# OpenBSD: etc.mvme68k/MAKEDEV.md,v 1.14 2004/04/11 18:05:23 millert Exp +# OpenBSD: MAKEDEV.common,v 1.6 2004/04/11 18:05:22 millert Exp # OpenBSD: MAKEDEV.mi,v 1.72 2004/02/16 18:58:53 miod Exp # OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp # @@ -45,8 +45,8 @@ # ttyw* WG CL-CD2400 serial ports # Pseudo terminals: # ptm pty master device -# pty* Set of 16 master pseudo terminals -# tty* Set of 16 slave pseudo terminals +# pty* Set of 62 pseudo terminals +tty_dev # Printers: # par0 On-board printer port # Special purpose devices: @@ -296,13 +296,17 @@ pty*) echo bad unit for pty in: $i continue fi - set -A tbl p q r s t u v w x y z P Q R S T - name=${tbl[$U]} + set -A letters p q r s t u v w x y z P Q R S T + set -A suffixes 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 w x y z A B C D E F G H I J K L M N O P Q R S T U V W X \ + Y Z + + name=${letters[$U]} n=0 - while [ $n -lt 16 ] + while [ $n -lt 62 ] do - nam=$name$(hex $n) - off=$(($U*16)) + nam=$name${suffixes[$n]} + off=$(($U*62)) M tty$nam c 4 $(($off+$n)) M pty$nam c 5 $(($off+$n)) n=$(($n+1)) @@ -407,8 +411,8 @@ all) R cuac cuad ttya ttyb ttyc ttyd ccd0 ccd1 ccd2 ccd3 vnd0 vnd1 R vnd2 vnd3 sd0 sd1 sd2 sd3 sd4 cd0 cd1 rd0 tun0 tun1 tun2 R tun3 bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 pty0 - R pty1 pty2 xfs0 ss0 ss1 ch0 vmel0 vmes0 flash0 nvram0 sram0 - R ptm local uk0 random lkm pf systrace std st0 st1 fd + R xfs0 ss0 ss1 ch0 vmel0 vmes0 flash0 nvram0 sram0 ptm local + R uk0 random lkm pf systrace std st0 st1 fd ;; sd*|ccd*) diff --git a/etc/etc.mvme88k/MAKEDEV b/etc/etc.mvme88k/MAKEDEV index 4b896aa1d77..fa7c59c7caa 100644 --- a/etc/etc.mvme88k/MAKEDEV +++ b/etc/etc.mvme88k/MAKEDEV @@ -3,8 +3,8 @@ # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # generated from: # -# OpenBSD: etc.mvme88k/MAKEDEV.md,v 1.13 2004/02/16 19:01:02 miod Exp -# OpenBSD: MAKEDEV.common,v 1.4 2004/03/12 04:54:04 deraadt Exp +# OpenBSD: etc.mvme88k/MAKEDEV.md,v 1.14 2004/04/11 18:05:23 millert Exp +# OpenBSD: MAKEDEV.common,v 1.6 2004/04/11 18:05:22 millert Exp # OpenBSD: MAKEDEV.mi,v 1.72 2004/02/16 18:58:53 miod Exp # OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp # @@ -44,8 +44,8 @@ # ttyv* MVME332XT serial ports # Pseudo terminals: # ptm pty master device -# pty* Set of 16 master pseudo terminals -# tty* Set of 16 slave pseudo terminals +# pty* Set of 62 pseudo terminals +tty_dev # Special purpose devices: # bpf* Berkeley Packet Filter # fd fd/* nodes for fdescfs @@ -280,13 +280,17 @@ pty*) echo bad unit for pty in: $i continue fi - set -A tbl p q r s t u v w x y z P Q R S T - name=${tbl[$U]} + set -A letters p q r s t u v w x y z P Q R S T + set -A suffixes 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 w x y z A B C D E F G H I J K L M N O P Q R S T U V W X \ + Y Z + + name=${letters[$U]} n=0 - while [ $n -lt 16 ] + while [ $n -lt 62 ] do - nam=$name$(hex $n) - off=$(($U*16)) + nam=$name${suffixes[$n]} + off=$(($U*62)) M tty$nam c 4 $(($off+$n)) M pty$nam c 5 $(($off+$n)) n=$(($n+1)) @@ -375,8 +379,8 @@ all) R tty02 tty03 tty04 tty05 tty06 tty07 ttya ttyb ccd0 ccd1 ccd2 R ccd3 vnd0 vnd1 vnd2 vnd3 sd0 sd1 sd2 sd3 sd4 cd0 cd1 rd0 R tun0 tun1 tun2 tun3 bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 - R bpf8 bpf9 pty0 pty1 pty2 xfs0 ss0 ch0 vmel0 vmes0 nvram0 - R sram0 ptm local uk0 random lkm pf systrace std st0 st1 fd + R bpf8 bpf9 pty0 xfs0 ss0 ch0 vmel0 vmes0 nvram0 sram0 ptm + R local uk0 random lkm pf systrace std st0 st1 fd ;; sd*|ccd*) diff --git a/etc/etc.pegasos/MAKEDEV b/etc/etc.pegasos/MAKEDEV index 61046d62f89..260b5f26d09 100644 --- a/etc/etc.pegasos/MAKEDEV +++ b/etc/etc.pegasos/MAKEDEV @@ -3,8 +3,8 @@ # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # generated from: # -# OpenBSD: etc.pegasos/MAKEDEV.md,v 1.7 2004/03/12 04:54:05 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.4 2004/03/12 04:54:04 deraadt Exp +# OpenBSD: etc.pegasos/MAKEDEV.md,v 1.8 2004/04/11 18:05:23 millert Exp +# OpenBSD: MAKEDEV.common,v 1.6 2004/04/11 18:05:22 millert Exp # OpenBSD: MAKEDEV.mi,v 1.72 2004/02/16 18:58:53 miod Exp # OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp # @@ -44,8 +44,8 @@ # tty[0-7][0-9a-f] NS16x50 serial ports # Pseudo terminals: # ptm pty master device -# pty* Set of 16 master pseudo terminals -# tty* Set of 16 slave pseudo terminals +# pty* Set of 62 pseudo terminals +tty_dev # Console ports: # ttyC0 Minimal wscons devices # ttyC-F* wscons display devices @@ -394,13 +394,17 @@ pty*) echo bad unit for pty in: $i continue fi - set -A tbl p q r s t u v w x y z P Q R S T - name=${tbl[$U]} + set -A letters p q r s t u v w x y z P Q R S T + set -A suffixes 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 w x y z A B C D E F G H I J K L M N O P Q R S T U V W X \ + Y Z + + name=${letters[$U]} n=0 - while [ $n -lt 16 ] + while [ $n -lt 62 ] do - nam=$name$(hex $n) - off=$(($U*16)) + nam=$name${suffixes[$n]} + off=$(($U*62)) M tty$nam c 4 $(($off+$n)) M pty$nam c 5 $(($off+$n)) n=$(($n+1)) @@ -457,10 +461,10 @@ ramdisk) all) R ccd0 ccd1 ccd2 ccd3 vnd0 vnd1 vnd2 vnd3 sd0 sd1 sd2 sd3 sd4 R cd0 cd1 rd0 tun0 tun1 tun2 tun3 bpf0 bpf1 bpf2 bpf3 bpf4 - R bpf5 bpf6 bpf7 bpf8 bpf9 pty0 pty1 pty2 xfs0 ss0 ss1 ch0 ptm - R local wscons pci iop0 iop1 uall tuner0 radio0 audio0 uk0 - R random lkm tty00 tty01 tty02 tty03 crypto pf systrace wd0 - R wd1 wd2 wd3 raid0 raid1 raid2 raid3 std st0 st1 fd + R bpf5 bpf6 bpf7 bpf8 bpf9 pty0 xfs0 ss0 ss1 ch0 ptm local + R wscons pci iop0 iop1 uall tuner0 radio0 audio0 uk0 random + R lkm tty00 tty01 tty02 tty03 crypto pf systrace wd0 wd1 wd2 + R wd3 raid0 raid1 raid2 raid3 std st0 st1 fd ;; wd*|sd*|raid*|ccd*) diff --git a/etc/etc.sparc/MAKEDEV b/etc/etc.sparc/MAKEDEV index 4733580b550..0683d200cb8 100644 --- a/etc/etc.sparc/MAKEDEV +++ b/etc/etc.sparc/MAKEDEV @@ -3,8 +3,8 @@ # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # generated from: # -# OpenBSD: etc.sparc/MAKEDEV.md,v 1.23 2004/02/20 19:13:08 miod Exp -# OpenBSD: MAKEDEV.common,v 1.4 2004/03/12 04:54:04 deraadt Exp +# OpenBSD: etc.sparc/MAKEDEV.md,v 1.24 2004/04/11 18:05:23 millert Exp +# OpenBSD: MAKEDEV.common,v 1.6 2004/04/11 18:05:22 millert Exp # OpenBSD: MAKEDEV.mi,v 1.72 2004/02/16 18:58:53 miod Exp # OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp # @@ -48,8 +48,8 @@ # tty[a-z]* Zilog 8530 serial ports # Pseudo terminals: # ptm pty master device -# pty* Set of 16 master pseudo terminals -# tty* Set of 16 slave pseudo terminals +# pty* Set of 62 pseudo terminals +tty_dev # Console ports: # ttyC0 Minimal wscons devices # ttyC-F* wscons display devices @@ -383,13 +383,17 @@ pty*) echo bad unit for pty in: $i continue fi - set -A tbl p q r s t u v w x y z P Q R S T - name=${tbl[$U]} + set -A letters p q r s t u v w x y z P Q R S T + set -A suffixes 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 w x y z A B C D E F G H I J K L M N O P Q R S T U V W X \ + Y Z + + name=${letters[$U]} n=0 - while [ $n -lt 16 ] + while [ $n -lt 62 ] do - nam=$name$(hex $n) - off=$(($U*16)) + nam=$name${suffixes[$n]} + off=$(($U*62)) M tty$nam c 20 $(($off+$n)) M pty$nam c 21 $(($off+$n)) n=$(($n+1)) @@ -491,11 +495,11 @@ all) R presto0 bpp0 ccd0 ccd1 ccd2 ccd3 vnd0 vnd1 vnd2 vnd3 sd0 R sd1 sd2 sd3 sd4 cd0 cd1 rd0 xy0 xy1 xy2 xy3 tun0 tun1 tun2 R tun3 bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 pty0 - R pty1 pty2 fd1 fd1B fd1C fd1D fd1E fd1F fd1G fd1H fd0 fd0B - R fd0C fd0D fd0E fd0F fd0G fd0H xfs0 ss0 ss1 ch0 ses0 cuaa - R cuab cuac cuad ttya ttyb ttyc ttyd ptm local wscons audio0 - R uk0 random lkm pf systrace xd0 xd1 xd2 xd3 raid0 raid1 raid2 - R raid3 std st0 st1 fd + R fd1 fd1B fd1C fd1D fd1E fd1F fd1G fd1H fd0 fd0B fd0C fd0D + R fd0E fd0F fd0G fd0H xfs0 ss0 ss1 ch0 ses0 cuaa cuab cuac + R cuad ttya ttyb ttyc ttyd ptm local wscons audio0 uk0 random + R lkm pf systrace xd0 xd1 xd2 xd3 raid0 raid1 raid2 raid3 std + R st0 st1 fd ;; presto*|xd*|xy*|sd*|raid*|ccd*) diff --git a/etc/etc.sparc64/MAKEDEV b/etc/etc.sparc64/MAKEDEV index 08e494e333f..7f1c7effd02 100644 --- a/etc/etc.sparc64/MAKEDEV +++ b/etc/etc.sparc64/MAKEDEV @@ -3,8 +3,8 @@ # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # generated from: # -# OpenBSD: etc.sparc64/MAKEDEV.md,v 1.33 2004/03/12 04:54:05 deraadt Exp -# OpenBSD: MAKEDEV.common,v 1.4 2004/03/12 04:54:04 deraadt Exp +# OpenBSD: etc.sparc64/MAKEDEV.md,v 1.34 2004/04/11 18:05:23 millert Exp +# OpenBSD: MAKEDEV.common,v 1.6 2004/04/11 18:05:22 millert Exp # OpenBSD: MAKEDEV.mi,v 1.72 2004/02/16 18:58:53 miod Exp # OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp # @@ -48,8 +48,8 @@ # ttyh* Sab82532 serial devices # Pseudo terminals: # ptm pty master device -# pty* Set of 16 master pseudo terminals -# tty* Set of 16 slave pseudo terminals +# pty* Set of 62 pseudo terminals +tty_dev # Console ports: # console PROM console # ttyC0 Minimal wscons devices @@ -453,13 +453,17 @@ pty*) echo bad unit for pty in: $i continue fi - set -A tbl p q r s t u v w x y z P Q R S T - name=${tbl[$U]} + set -A letters p q r s t u v w x y z P Q R S T + set -A suffixes 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 w x y z A B C D E F G H I J K L M N O P Q R S T U V W X \ + Y Z + + name=${letters[$U]} n=0 - while [ $n -lt 16 ] + while [ $n -lt 62 ] do - nam=$name$(hex $n) - off=$(($U*16)) + nam=$name${suffixes[$n]} + off=$(($U*62)) M tty$nam c 20 $(($off+$n)) M pty$nam c 21 $(($off+$n)) n=$(($n+1)) @@ -567,13 +571,13 @@ local) all) R cuaa cuab cuac cuad ttya ttyb ttyc ttyd bpp0 vnd0 vnd1 vnd2 R vnd3 sd0 sd1 sd2 sd3 sd4 cd0 cd1 rd0 tun0 tun1 tun2 tun3 - R bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 pty0 pty1 - R pty2 fd1 fd1B fd1C fd1D fd1E fd1F fd1G fd1H fd0 fd0B fd0C - R fd0D fd0E fd0F fd0G fd0H xfs0 ss0 ss1 ch0 ses0 ccd0 ccd1 - R ccd2 ccd3 ptm local wscons pci uall audio0 uk0 random lpa0 - R lpa1 lpa2 lpt0 lpt1 lpt2 lkm tty00 tty01 tty02 tty03 ttyh0 - R ttyh1 crypto pf systrace wd0 wd1 wd2 wd3 raid0 raid1 raid2 - R raid3 std st0 st1 fd + R bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 pty0 fd1 + R fd1B fd1C fd1D fd1E fd1F fd1G fd1H fd0 fd0B fd0C fd0D fd0E + R fd0F fd0G fd0H xfs0 ss0 ss1 ch0 ses0 ccd0 ccd1 ccd2 ccd3 ptm + R local wscons pci uall audio0 uk0 random lpa0 lpa1 lpa2 lpt0 + R lpt1 lpt2 lkm tty00 tty01 tty02 tty03 ttyh0 ttyh1 crypto pf + R systrace wd0 wd1 wd2 wd3 raid0 raid1 raid2 raid3 std st0 st1 + R fd ;; wd*|sd*|raid*|ccd*) diff --git a/etc/etc.vax/MAKEDEV b/etc/etc.vax/MAKEDEV index a23b6d3b1f4..0eecf9bed33 100644 --- a/etc/etc.vax/MAKEDEV +++ b/etc/etc.vax/MAKEDEV @@ -3,8 +3,8 @@ # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # generated from: # -# OpenBSD: etc.vax/MAKEDEV.md,v 1.18 2004/02/20 19:13:08 miod Exp -# OpenBSD: MAKEDEV.common,v 1.4 2004/03/12 04:54:04 deraadt Exp +# OpenBSD: etc.vax/MAKEDEV.md,v 1.19 2004/04/11 18:05:23 millert Exp +# OpenBSD: MAKEDEV.common,v 1.6 2004/04/11 18:05:22 millert Exp # OpenBSD: MAKEDEV.mi,v 1.72 2004/02/16 18:58:53 miod Exp # OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp # @@ -63,8 +63,8 @@ # vt* console # Pseudo terminals: # ptm pty master device -# pty* Set of 16 master pseudo terminals -# tty* Set of 16 slave pseudo terminals +# pty* Set of 62 pseudo terminals +tty_dev # Special purpose devices: # bpf* Berkeley Packet Filter # fd fd/* nodes for fdescfs @@ -338,13 +338,17 @@ pty*) echo bad unit for pty in: $i continue fi - set -A tbl p q r s t u v w x y z P Q R S T - name=${tbl[$U]} + set -A letters p q r s t u v w x y z P Q R S T + set -A suffixes 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 w x y z A B C D E F G H I J K L M N O P Q R S T U V W X \ + Y Z + + name=${letters[$U]} n=0 - while [ $n -lt 16 ] + while [ $n -lt 62 ] do - nam=$name$(hex $n) - off=$(($U*16)) + nam=$name${suffixes[$n]} + off=$(($U*62)) M tty$nam c 20 $(($off+$n)) M pty$nam c 21 $(($off+$n)) n=$(($n+1)) @@ -490,9 +494,9 @@ local) all) R vt0 dl0 dz0 dhu0 ts0 ts1 mt0 mt1 hd0 hd1 hd2 ccd0 vnd0 sd0 R sd1 sd2 sd3 cd0 tun0 tun1 bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 - R bpf7 pty0 pty1 ss0 ptm local uk0 random lkm pf systrace rx0 - R rx1 ra0 ra1 ra2 ra3 hp0 hp1 hp2 hp3 raid0 raid1 raid2 raid3 - R std st0 st1 fd + R bpf7 pty0 ss0 ptm local uk0 random lkm pf systrace rx0 rx1 + R ra0 ra1 ra2 ra3 hp0 hp1 hp2 hp3 raid0 raid1 raid2 raid3 std + R st0 st1 fd ;; up*|sd*|rx*|rl*|rb*|raid*|ra*|hp*|hk*|hd*|ccd*) |