Browse Source

regen

OPENBSD_4_0
miod 18 years ago
parent
commit
a2138cb0fb
1 changed files with 25 additions and 2 deletions
  1. +25
    -2
      src/etc/etc.vax/MAKEDEV

+ 25
- 2
src/etc/etc.vax/MAKEDEV View File

@ -3,8 +3,8 @@
# THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
# generated from: # generated from:
# #
# OpenBSD: etc.vax/MAKEDEV.md,v 1.21 2005/08/01 22:22:14 deraadt Exp
# OpenBSD: MAKEDEV.common,v 1.23 2005/12/27 19:02:42 miod Exp
# OpenBSD: etc.vax/MAKEDEV.md,v 1.23 2006/07/24 22:59:22 miod Exp
# OpenBSD: MAKEDEV.common,v 1.28 2006/06/11 10:58:57 mk Exp
# OpenBSD: MAKEDEV.mi,v 1.77 2005/10/06 06:43:19 otto Exp # OpenBSD: MAKEDEV.mi,v 1.77 2005/10/06 06:43:19 otto Exp
# OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp # OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp
# #
@ -65,6 +65,9 @@
# ptm pty master device # ptm pty master device
# pty* Set of 62 master pseudo terminals # pty* Set of 62 master pseudo terminals
# tty* Set of 62 slave pseudo terminals # tty* Set of 62 slave pseudo terminals
# Console ports:
# wscons Minimal wscons devices
# ttyC-F* wscons display devices
# Special purpose devices: # Special purpose devices:
# bpf* Berkeley Packet Filter # bpf* Berkeley Packet Filter
# fd fd/* nodes # fd fd/* nodes
@ -322,6 +325,26 @@ bpf*)
M bpf$U c 56 $U 600 M bpf$U c 56 $U 600
;; ;;
tty[C-F]*)
U=${i##tty[C-F]}
case $i in
ttyC*) n=C m=0;;
ttyD*) n=D m=256;;
ttyE*) n=E m=512;;
ttyF*) n=F m=768;;
esac
case $U in
[0-9a-f]) M tty$n$U c 68 $((16#$U+$m)) 600;;
cfg) M tty${n}cfg c 68 $((255+$m)) 600;;
*) echo bad unit $U for $i; exit 1;;
esac
;;
wscons)
R ttyCcfg ttyC0 ttyC1 ttyC2 ttyC3 ttyC4 ttyC5 ttyC6 ttyC7
R ttyC8 ttyC9 ttyCa ttyCb
;;
pty*) pty*)
if [ $U -gt 15 ]; then if [ $U -gt 15 ]; then
echo bad unit for pty in: $i echo bad unit for pty in: $i


Loading…
Cancel
Save