Browse Source

Regen

OPENBSD_3_7
miod 20 years ago
parent
commit
a0cdf0d3f3
2 changed files with 75 additions and 74 deletions
  1. +48
    -47
      src/etc/etc.sparc/MAKEDEV
  2. +27
    -27
      src/etc/etc.sparc64/MAKEDEV

+ 48
- 47
src/etc/etc.sparc/MAKEDEV View File

@ -3,7 +3,7 @@
# THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
# generated from: # generated from:
# #
# OpenBSD: etc.sparc/MAKEDEV.md,v 1.24 2004/04/11 18:05:23 millert Exp
# OpenBSD: etc.sparc/MAKEDEV.md,v 1.25 2005/03/01 18:22:32 miod Exp
# OpenBSD: MAKEDEV.common,v 1.16 2005/03/01 13:35:59 otto Exp # OpenBSD: MAKEDEV.common,v 1.16 2005/03/01 13:35:59 otto Exp
# OpenBSD: MAKEDEV.mi,v 1.73 2005/02/07 06:14:18 david Exp # OpenBSD: MAKEDEV.mi,v 1.73 2005/02/07 06:14:18 david 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
@ -46,10 +46,16 @@
# Terminal ports: # Terminal ports:
# cua[a-z]* Zilog 8530 serial ports # cua[a-z]* Zilog 8530 serial ports
# tty[a-z]* Zilog 8530 serial ports # tty[a-z]* Zilog 8530 serial ports
# magma* Magma multiport cards
# spif* "spif" multiport cards
# Pseudo terminals: # Pseudo terminals:
# 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
# Printers:
# bpp* Parallel port
# bppmag[mno] Magma parallel port
# bpp[jkl] "spif" parallel port
# Console ports: # Console ports:
# ttyC0 Minimal wscons devices # ttyC0 Minimal wscons devices
# ttyC-F* wscons display devices # ttyC-F* wscons display devices
@ -60,16 +66,11 @@
# Special purpose devices: # Special purpose devices:
# audio* Audio devices # audio* Audio devices
# bpf* Berkeley Packet Filter # bpf* Berkeley Packet Filter
# bpp* Parallel port
# bppmag[mno] Magma parallel port
# bpp[jkl] "spif" parallel port
# fd fd/* nodes for fdescfs # fd fd/* nodes for fdescfs
# lkm Loadable kernel modules interface # lkm Loadable kernel modules interface
# openprom PROM settings # openprom PROM settings
# magma* Magma multiport cards
# pf* Packet Filter # pf* Packet Filter
# *random In-kernel random data source # *random In-kernel random data source
# spif* "spif" multiport cards
# ses* SES/SAF-TE SCSI devices # ses* SES/SAF-TE SCSI devices
# ss* SCSI scanners # ss* SCSI scanners
# systrace* System call tracing device # systrace* System call tracing device
@ -257,24 +258,6 @@ ses*)
M ses$U c 124 $U 640 operator M ses$U c 124 $U 640 operator
;; ;;
spif*)
case $U in
0) offset=0 nam=j;;
1) offset=16 nam=k;;
2) offset=32 nam=l;;
*) echo "bad unit for $i: $U"; exit 127;;
esac
offset=$(($U*64))
n=0
while [ $n -lt 8 ]
do
name=${nam}`hex $n`
M tty$name c 102 $(($offset+$n)) 660 dialer uucp
n=$(($n+1))
done
M bpp${nam}0 c 103 $(($offset+0)) 600
;;
*random) *random)
n=0 n=0
for pre in " " s u p a for pre in " " s u p a
@ -288,25 +271,6 @@ pf*)
M pf c 59 0 600 M pf c 59 0 600
;; ;;
magma*)
case $U in
0) offset=0 nam=m;;
1) offset=16 nam=n;;
2) offset=32 nam=o;;
*) echo "bad unit for $i: $U"; exit 127;;
esac
offset=$(($U*64))
n=0
while [ $n -lt 16 ]
do
name=${nam}`hex $n`
M tty$name c 100 $(($offset+$n)) 660 dialer uucp
n=$(($n+1))
done
M bpp${nam}0 c 101 $(($offset+0)) 600
M bpp${nam}1 c 101 $(($offset+1)) 600
;;
openprom) openprom)
M openprom c 70 0 M openprom c 70 0
;; ;;
@ -321,10 +285,6 @@ fd)
MKlist="$MKlist;chmod 555 fd" MKlist="$MKlist;chmod 555 fd"
;; ;;
bpp*)
M bpp$U c 104 $U 600
;;
bpf*) bpf*)
M bpf$U c 105 $U 600 M bpf$U c 105 $U 600
;; ;;
@ -378,6 +338,10 @@ wscons)
R ttyC4 ttyC5 ttyC6 ttyC7 ttyC8 ttyC9 ttyCa ttyCb R ttyC4 ttyC5 ttyC6 ttyC7 ttyC8 ttyC9 ttyCa ttyCb
;; ;;
bpp*)
M bpp$U c 104 $U 600
;;
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
@ -404,6 +368,43 @@ ptm)
M ptm c 125 0 666 M ptm c 125 0 666
;; ;;
spif*)
case $U in
0) offset=0 nam=j;;
1) offset=16 nam=k;;
2) offset=32 nam=l;;
*) echo "bad unit for $i: $U"; exit 127;;
esac
offset=$(($U*64))
n=0
while [ $n -lt 8 ]
do
name=${nam}`hex $n`
M tty$name c 102 $(($offset+$n)) 660 dialer uucp
n=$(($n+1))
done
M bpp${nam}0 c 103 $(($offset+0)) 600
;;
magma*)
case $U in
0) offset=0 nam=m;;
1) offset=16 nam=n;;
2) offset=32 nam=o;;
*) echo "bad unit for $i: $U"; exit 127;;
esac
offset=$(($U*64))
n=0
while [ $n -lt 16 ]
do
name=${nam}`hex $n`
M tty$name c 100 $(($offset+$n)) 660 dialer uucp
n=$(($n+1))
done
M bpp${nam}0 c 101 $(($offset+0)) 600
M bpp${nam}1 c 101 $(($offset+1)) 600
;;
tty[a-z]) tty[a-z])
u=${i#tty*} u=${i#tty*}
case $u in case $u in


+ 27
- 27
src/etc/etc.sparc64/MAKEDEV View File

@ -3,7 +3,7 @@
# THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
# generated from: # generated from:
# #
# OpenBSD: etc.sparc64/MAKEDEV.md,v 1.36 2004/08/17 20:58:10 miod Exp
# OpenBSD: etc.sparc64/MAKEDEV.md,v 1.37 2005/03/01 18:22:34 miod Exp
# OpenBSD: MAKEDEV.common,v 1.16 2005/03/01 13:35:59 otto Exp # OpenBSD: MAKEDEV.common,v 1.16 2005/03/01 13:35:59 otto Exp
# OpenBSD: MAKEDEV.mi,v 1.73 2005/02/07 06:14:18 david Exp # OpenBSD: MAKEDEV.mi,v 1.73 2005/02/07 06:14:18 david 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
@ -45,6 +45,7 @@
# tty[0-7][0-9a-f] NS16x50 serial ports # tty[0-7][0-9a-f] NS16x50 serial ports
# cua[a-z]* Zilog 8530 serial port # cua[a-z]* Zilog 8530 serial port
# tty[a-z]* Zilog 8530 serial port # tty[a-z]* Zilog 8530 serial port
# spif* "spif" multiport cards
# ttyh* Sab82532 serial devices # ttyh* Sab82532 serial devices
# Pseudo terminals: # Pseudo terminals:
# ptm pty master device # ptm pty master device
@ -59,6 +60,9 @@
# Pointing devices: # Pointing devices:
# wsmouse* wscons mice # wsmouse* wscons mice
# Printers: # Printers:
# bpp* Parallel port
# bppmag[mno] Magma parallel port
# bpp[jkl] "spif" parallel port
# lpa* Polled printer port # lpa* Polled printer port
# lpt* IEEE 1284 centronics printer # lpt* IEEE 1284 centronics printer
# USB devices: # USB devices:
@ -73,9 +77,6 @@
# Special purpose devices: # Special purpose devices:
# audio* Audio devices # audio* Audio devices
# bpf* Berkeley Packet Filter # bpf* Berkeley Packet Filter
# bpp* Parallel port
# bppmag[mno] Magma parallel port
# bpp[jkl] "spif" parallel port
# crypto Hardware crypto access driver # crypto Hardware crypto access driver
# fd fd/* nodes for fdescfs # fd fd/* nodes for fdescfs
# hotplug devices hot plugging # hotplug devices hot plugging
@ -86,7 +87,6 @@
# pf* Packet Filter # pf* Packet Filter
# *random In-kernel random data source # *random In-kernel random data source
# ses* SES/SAF-TE SCSI devices # ses* SES/SAF-TE SCSI devices
# spif* "spif" multiport cards
# ss* SCSI scanners # ss* SCSI scanners
# systrace* System call tracing device # systrace* System call tracing device
# tun* Network tunnel driver # tun* Network tunnel driver
@ -273,24 +273,6 @@ ss*)
MKlist="$MKlist;umask 77;ln -s ss$U scan$U" MKlist="$MKlist;umask 77;ln -s ss$U scan$U"
;; ;;
spif*)
case $U in
0) offset=0 nam=j;;
1) offset=16 nam=k;;
2) offset=32 nam=l;;
*) echo "bad unit for $i: $U"; exit 127;;
esac
offset=$(($U*64))
n=0
while [ $n -lt 8 ]
do
name=${nam}`hex $n`
M tty$name c 108 $(($offset+$n)) 660 dialer uucp
n=$(($n+1))
done
M bpp${nam}0 c 109 $(($offset+0)) 600
;;
ses*) ses*)
M ses$U c 4 $U 640 operator M ses$U c 4 $U 640 operator
;; ;;
@ -353,10 +335,6 @@ crypto)
M crypto c 75 0 M crypto c 75 0
;; ;;
bpp*)
M bpp$U c 107 $U 600
;;
bpf*) bpf*)
M bpf$U c 105 $U 600 M bpf$U c 105 $U 600
;; ;;
@ -421,6 +399,10 @@ lpt*|lpa*)
M $n$U c 37 $(($U+$f)) 600 M $n$U c 37 $(($U+$f)) 600
;; ;;
bpp*)
M bpp$U c 107 $U 600
;;
wsmouse*) wsmouse*)
M wsmouse$U c 80 $U 600 M wsmouse$U c 80 $U 600
;; ;;
@ -489,6 +471,24 @@ ttyh*)
M ttyh$U c 77 $U 660 dialer uucp M ttyh$U c 77 $U 660 dialer uucp
;; ;;
spif*)
case $U in
0) offset=0 nam=j;;
1) offset=16 nam=k;;
2) offset=32 nam=l;;
*) echo "bad unit for $i: $U"; exit 127;;
esac
offset=$(($U*64))
n=0
while [ $n -lt 8 ]
do
name=${nam}`hex $n`
M tty$name c 108 $(($offset+$n)) 660 dialer uucp
n=$(($n+1))
done
M bpp${nam}0 c 109 $(($offset+0)) 600
;;
tty[a-z]) tty[a-z])
u=${i#tty*} u=${i#tty*}
case $u in case $u in


Loading…
Cancel
Save