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