|
|
@ -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*) |
|
|
|