Browse Source

sync

OPENBSD_3_5
todd 21 years ago
parent
commit
23cd245698
10 changed files with 210 additions and 110 deletions
  1. +24
    -13
      src/etc/etc.alpha/MAKEDEV
  2. +18
    -9
      src/etc/etc.hp300/MAKEDEV
  3. +24
    -13
      src/etc/etc.hppa/MAKEDEV
  4. +24
    -13
      src/etc/etc.i386/MAKEDEV
  5. +18
    -9
      src/etc/etc.mac68k/MAKEDEV
  6. +24
    -13
      src/etc/etc.macppc/MAKEDEV
  7. +18
    -9
      src/etc/etc.mvme68k/MAKEDEV
  8. +18
    -9
      src/etc/etc.mvme88k/MAKEDEV
  9. +18
    -9
      src/etc/etc.sparc/MAKEDEV
  10. +24
    -13
      src/etc/etc.sparc64/MAKEDEV

+ 24
- 13
src/etc/etc.alpha/MAKEDEV View File

@ -4,7 +4,7 @@
# generated from:
#
# OpenBSD: etc.alpha/MAKEDEV.md,v 1.16 2003/06/18 18:08:59 todd Exp
# OpenBSD: MAKEDEV.mi,v 1.61 2003/10/11 03:32:15 tedu Exp
# OpenBSD: MAKEDEV.mi,v 1.62 2003/10/14 17:58:23 todd Exp
# OpenBSD: MAKEDEV.sub,v 1.8 2003/06/18 18:08:59 todd Exp
#
#
@ -45,7 +45,7 @@
# ttyC-F* wscons virtual consoles
# wskbd* wscons keyboards
# wsmux wscons keyboard/mouse mux devices
# tty0* NS16x50 serial ports
# tty[0-7][0-9a-f] NS16x50 serial ports
# ttyc* Cyclades serial ports
# Pointing devices:
# wsmouse* wscons mice
@ -102,15 +102,24 @@ hex()
esac
}
trunc()
h2d()
{
# XXX pdksh can't seem to deal with locally scoped variables
# in ${foo#$bar} expansions
arg1="$1"
arg2="$2"
case $3 in
l) echo ${arg2#$arg1} ;;
r|*) echo ${arg1#$arg2} ;;
local s="$1"
local f=${s%*[0-9a-f]} n=${s#[0-9a-f]*}
echo $(($(_h2d $f)*16+ $(_h2d $n) ))
}
_h2d()
{
case $1 in
[0-9]) echo -n $1;;
a) echo -n 10;;
b) echo -n 11;;
c) echo -n 12;;
d) echo -n 13;;
e) echo -n 14;;
f) echo -n 15;;
esac
}
@ -385,9 +394,11 @@ wsmouse*)
M wsmouse$U c 30 $U 600
;;
tty0*)
M tty$U c 26 $U 660 dialer uucp
M cua$U c 26 $(($U+128)) 660 dialer uucp
tty[0-7][0-9a-f])
U=${i#tty*}
o=$(hextod $U)
M tty$U c 26 $o 660 dialer uucp
M cua$U c 26 $(($o+128)) 660 dialer uucp
;;
wsmux|wsmouse|wskbd)


+ 18
- 9
src/etc/etc.hp300/MAKEDEV View File

@ -4,7 +4,7 @@
# generated from:
#
# OpenBSD: etc.hp300/MAKEDEV.md,v 1.13 2003/06/18 18:08:59 todd Exp
# OpenBSD: MAKEDEV.mi,v 1.61 2003/10/11 03:32:15 tedu Exp
# OpenBSD: MAKEDEV.mi,v 1.62 2003/10/14 17:58:23 todd Exp
# OpenBSD: MAKEDEV.sub,v 1.8 2003/06/18 18:08:59 todd Exp
#
#
@ -78,15 +78,24 @@ hex()
esac
}
trunc()
h2d()
{
# XXX pdksh can't seem to deal with locally scoped variables
# in ${foo#$bar} expansions
arg1="$1"
arg2="$2"
case $3 in
l) echo ${arg2#$arg1} ;;
r|*) echo ${arg1#$arg2} ;;
local s="$1"
local f=${s%*[0-9a-f]} n=${s#[0-9a-f]*}
echo $(($(_h2d $f)*16+ $(_h2d $n) ))
}
_h2d()
{
case $1 in
[0-9]) echo -n $1;;
a) echo -n 10;;
b) echo -n 11;;
c) echo -n 12;;
d) echo -n 13;;
e) echo -n 14;;
f) echo -n 15;;
esac
}


+ 24
- 13
src/etc/etc.hppa/MAKEDEV View File

@ -4,7 +4,7 @@
# generated from:
#
# OpenBSD: etc.hppa/MAKEDEV.md,v 1.15 2003/08/07 09:19:14 mickey Exp
# OpenBSD: MAKEDEV.mi,v 1.61 2003/10/11 03:32:15 tedu Exp
# OpenBSD: MAKEDEV.mi,v 1.62 2003/10/14 17:58:23 todd Exp
# OpenBSD: MAKEDEV.sub,v 1.8 2003/06/18 18:08:59 todd Exp
#
#
@ -37,7 +37,7 @@
# vnd* "file" pseudo-disks
# rd* "rd" pseudo-disks
# Terminal ports:
# tty0* NS16x50 serial ports
# tty[0-7][0-9a-f] NS16x50 serial ports
# Pseudo terminals:
# tty* set of 16 slave psuedo terminals
# pty* set of 16 master pseudo terminals
@ -87,15 +87,24 @@ hex()
esac
}
trunc()
h2d()
{
# XXX pdksh can't seem to deal with locally scoped variables
# in ${foo#$bar} expansions
arg1="$1"
arg2="$2"
case $3 in
l) echo ${arg2#$arg1} ;;
r|*) echo ${arg1#$arg2} ;;
local s="$1"
local f=${s%*[0-9a-f]} n=${s#[0-9a-f]*}
echo $(($(_h2d $f)*16+ $(_h2d $n) ))
}
_h2d()
{
case $1 in
[0-9]) echo -n $1;;
a) echo -n 10;;
b) echo -n 11;;
c) echo -n 12;;
d) echo -n 13;;
e) echo -n 14;;
f) echo -n 15;;
esac
}
@ -336,9 +345,11 @@ pty*)
done
;;
tty0*)
M tty$U c 23 $U 660 dialer uucp
M cua$U c 23 $(($U+128)) 660 dialer uucp
tty[0-7][0-9a-f])
U=${i#tty*}
o=$(hextod $U)
M tty$U c 23 $o 660 dialer uucp
M cua$U c 23 $(($o+128)) 660 dialer uucp
;;
rd*)


+ 24
- 13
src/etc/etc.i386/MAKEDEV View File

@ -4,7 +4,7 @@
# generated from:
#
# OpenBSD: etc.i386/MAKEDEV.md,v 1.17 2003/06/18 18:08:59 todd Exp
# OpenBSD: MAKEDEV.mi,v 1.61 2003/10/11 03:32:15 tedu Exp
# OpenBSD: MAKEDEV.mi,v 1.62 2003/10/14 17:58:23 todd Exp
# OpenBSD: MAKEDEV.sub,v 1.8 2003/06/18 18:08:59 todd Exp
#
#
@ -51,7 +51,7 @@
# mouse mouse (provides events, for X11)
# wsmouse* wscons mice
# Terminal ports:
# tty0* NS16x50 serial ports
# tty[0-7][0-9a-f] NS16x50 serial ports
# ttyc* Cyclades serial ports
# Pseudo terminals:
# tty* set of 16 slave psuedo terminals
@ -117,15 +117,24 @@ hex()
esac
}
trunc()
h2d()
{
# XXX pdksh can't seem to deal with locally scoped variables
# in ${foo#$bar} expansions
arg1="$1"
arg2="$2"
case $3 in
l) echo ${arg2#$arg1} ;;
r|*) echo ${arg1#$arg2} ;;
local s="$1"
local f=${s%*[0-9a-f]} n=${s#[0-9a-f]*}
echo $(($(_h2d $f)*16+ $(_h2d $n) ))
}
_h2d()
{
case $1 in
[0-9]) echo -n $1;;
a) echo -n 10;;
b) echo -n 11;;
c) echo -n 12;;
d) echo -n 13;;
e) echo -n 14;;
f) echo -n 15;;
esac
}
@ -438,9 +447,11 @@ pty*)
done
;;
tty0*)
M tty$U c 8 $U 660 dialer uucp
M cua$U c 8 $(($U+128)) 660 dialer uucp
tty[0-7][0-9a-f])
U=${i#tty*}
o=$(hextod $U)
M tty$U c 8 $o 660 dialer uucp
M cua$U c 8 $(($o+128)) 660 dialer uucp
;;
wsmouse*)


+ 18
- 9
src/etc/etc.mac68k/MAKEDEV View File

@ -4,7 +4,7 @@
# generated from:
#
# OpenBSD: etc.mac68k/MAKEDEV.md,v 1.11 2003/06/18 18:08:59 todd Exp
# OpenBSD: MAKEDEV.mi,v 1.61 2003/10/11 03:32:15 tedu Exp
# OpenBSD: MAKEDEV.mi,v 1.62 2003/10/14 17:58:23 todd Exp
# OpenBSD: MAKEDEV.sub,v 1.8 2003/06/18 18:08:59 todd Exp
#
#
@ -77,15 +77,24 @@ hex()
esac
}
trunc()
h2d()
{
# XXX pdksh can't seem to deal with locally scoped variables
# in ${foo#$bar} expansions
arg1="$1"
arg2="$2"
case $3 in
l) echo ${arg2#$arg1} ;;
r|*) echo ${arg1#$arg2} ;;
local s="$1"
local f=${s%*[0-9a-f]} n=${s#[0-9a-f]*}
echo $(($(_h2d $f)*16+ $(_h2d $n) ))
}
_h2d()
{
case $1 in
[0-9]) echo -n $1;;
a) echo -n 10;;
b) echo -n 11;;
c) echo -n 12;;
d) echo -n 13;;
e) echo -n 14;;
f) echo -n 15;;
esac
}


+ 24
- 13
src/etc/etc.macppc/MAKEDEV View File

@ -4,7 +4,7 @@
# generated from:
#
# OpenBSD: etc.macppc/MAKEDEV.md,v 1.11 2003/06/18 18:08:59 todd Exp
# OpenBSD: MAKEDEV.mi,v 1.61 2003/10/11 03:32:15 tedu Exp
# OpenBSD: MAKEDEV.mi,v 1.62 2003/10/14 17:58:23 todd Exp
# OpenBSD: MAKEDEV.sub,v 1.8 2003/06/18 18:08:59 todd Exp
#
#
@ -48,7 +48,7 @@
# wsmux wscons keyboard/mouse mux devices
# Terminal ports:
# ttyE? Workstation console (framebuffer & keyboard) tty emulators
# tty0* NS16x50 serial ports
# tty[0-7][0-9a-f] NS16x50 serial ports
# Pseudo terminals:
# tty* set of 16 slave psuedo terminals
# pty* set of 16 master pseudo terminals
@ -98,15 +98,24 @@ hex()
esac
}
trunc()
h2d()
{
# XXX pdksh can't seem to deal with locally scoped variables
# in ${foo#$bar} expansions
arg1="$1"
arg2="$2"
case $3 in
l) echo ${arg2#$arg1} ;;
r|*) echo ${arg1#$arg2} ;;
local s="$1"
local f=${s%*[0-9a-f]} n=${s#[0-9a-f]*}
echo $(($(_h2d $f)*16+ $(_h2d $n) ))
}
_h2d()
{
case $1 in
[0-9]) echo -n $1;;
a) echo -n 10;;
b) echo -n 11;;
c) echo -n 12;;
d) echo -n 13;;
e) echo -n 14;;
f) echo -n 15;;
esac
}
@ -360,9 +369,11 @@ pty*)
done
;;
tty0*)
M tty$U c 7 $U 660 dialer uucp
M cua$U c 7 $(($U+128)) 660 dialer uucp
tty[0-7][0-9a-f])
U=${i#tty*}
o=$(hextod $U)
M tty$U c 7 $o 660 dialer uucp
M cua$U c 7 $(($o+128)) 660 dialer uucp
;;
wsmux|wsmouse|wskbd)


+ 18
- 9
src/etc/etc.mvme68k/MAKEDEV View File

@ -4,7 +4,7 @@
# generated from:
#
# OpenBSD: etc.mvme68k/MAKEDEV.md,v 1.9 2003/09/26 06:58:02 miod Exp
# OpenBSD: MAKEDEV.mi,v 1.61 2003/10/11 03:32:15 tedu Exp
# OpenBSD: MAKEDEV.mi,v 1.62 2003/10/14 17:58:23 todd Exp
# OpenBSD: MAKEDEV.sub,v 1.8 2003/06/18 18:08:59 todd Exp
#
#
@ -82,15 +82,24 @@ hex()
esac
}
trunc()
h2d()
{
# XXX pdksh can't seem to deal with locally scoped variables
# in ${foo#$bar} expansions
arg1="$1"
arg2="$2"
case $3 in
l) echo ${arg2#$arg1} ;;
r|*) echo ${arg1#$arg2} ;;
local s="$1"
local f=${s%*[0-9a-f]} n=${s#[0-9a-f]*}
echo $(($(_h2d $f)*16+ $(_h2d $n) ))
}
_h2d()
{
case $1 in
[0-9]) echo -n $1;;
a) echo -n 10;;
b) echo -n 11;;
c) echo -n 12;;
d) echo -n 13;;
e) echo -n 14;;
f) echo -n 15;;
esac
}


+ 18
- 9
src/etc/etc.mvme88k/MAKEDEV View File

@ -4,7 +4,7 @@
# generated from:
#
# OpenBSD: etc.mvme88k/MAKEDEV.md,v 1.8 2003/09/26 06:58:04 miod Exp
# OpenBSD: MAKEDEV.mi,v 1.61 2003/10/11 03:32:15 tedu Exp
# OpenBSD: MAKEDEV.mi,v 1.62 2003/10/14 17:58:23 todd Exp
# OpenBSD: MAKEDEV.sub,v 1.8 2003/06/18 18:08:59 todd Exp
#
#
@ -78,15 +78,24 @@ hex()
esac
}
trunc()
h2d()
{
# XXX pdksh can't seem to deal with locally scoped variables
# in ${foo#$bar} expansions
arg1="$1"
arg2="$2"
case $3 in
l) echo ${arg2#$arg1} ;;
r|*) echo ${arg1#$arg2} ;;
local s="$1"
local f=${s%*[0-9a-f]} n=${s#[0-9a-f]*}
echo $(($(_h2d $f)*16+ $(_h2d $n) ))
}
_h2d()
{
case $1 in
[0-9]) echo -n $1;;
a) echo -n 10;;
b) echo -n 11;;
c) echo -n 12;;
d) echo -n 13;;
e) echo -n 14;;
f) echo -n 15;;
esac
}


+ 18
- 9
src/etc/etc.sparc/MAKEDEV View File

@ -4,7 +4,7 @@
# generated from:
#
# OpenBSD: etc.sparc/MAKEDEV.md,v 1.19 2003/06/18 18:08:59 todd Exp
# OpenBSD: MAKEDEV.mi,v 1.61 2003/10/11 03:32:15 tedu Exp
# OpenBSD: MAKEDEV.mi,v 1.62 2003/10/14 17:58:23 todd Exp
# OpenBSD: MAKEDEV.sub,v 1.8 2003/06/18 18:08:59 todd Exp
#
#
@ -93,15 +93,24 @@ hex()
esac
}
trunc()
h2d()
{
# XXX pdksh can't seem to deal with locally scoped variables
# in ${foo#$bar} expansions
arg1="$1"
arg2="$2"
case $3 in
l) echo ${arg2#$arg1} ;;
r|*) echo ${arg1#$arg2} ;;
local s="$1"
local f=${s%*[0-9a-f]} n=${s#[0-9a-f]*}
echo $(($(_h2d $f)*16+ $(_h2d $n) ))
}
_h2d()
{
case $1 in
[0-9]) echo -n $1;;
a) echo -n 10;;
b) echo -n 11;;
c) echo -n 12;;
d) echo -n 13;;
e) echo -n 14;;
f) echo -n 15;;
esac
}


+ 24
- 13
src/etc/etc.sparc64/MAKEDEV View File

@ -4,7 +4,7 @@
# generated from:
#
# OpenBSD: etc.sparc64/MAKEDEV.md,v 1.27 2003/06/18 18:08:59 todd Exp
# OpenBSD: MAKEDEV.mi,v 1.61 2003/10/11 03:32:15 tedu Exp
# OpenBSD: MAKEDEV.mi,v 1.62 2003/10/14 17:58:23 todd Exp
# OpenBSD: MAKEDEV.sub,v 1.8 2003/06/18 18:08:59 todd Exp
#
#
@ -52,7 +52,7 @@
# Terminal ports:
# tty[a-z]* Zilog 8530 Serial Port
# cua[a-z]* Zilog 8530 Serial Port
# tty0* NS16x50 serial ports
# tty[0-7][0-9a-f] NS16x50 serial ports
# ttyh* Sab82532 serial devices
# Pseudo terminals:
# tty* set of 16 slave psuedo terminals
@ -109,15 +109,24 @@ hex()
esac
}
trunc()
h2d()
{
# XXX pdksh can't seem to deal with locally scoped variables
# in ${foo#$bar} expansions
arg1="$1"
arg2="$2"
case $3 in
l) echo ${arg2#$arg1} ;;
r|*) echo ${arg1#$arg2} ;;
local s="$1"
local f=${s%*[0-9a-f]} n=${s#[0-9a-f]*}
echo $(($(_h2d $f)*16+ $(_h2d $n) ))
}
_h2d()
{
case $1 in
[0-9]) echo -n $1;;
a) echo -n 10;;
b) echo -n 11;;
c) echo -n 12;;
d) echo -n 13;;
e) echo -n 14;;
f) echo -n 15;;
esac
}
@ -423,9 +432,11 @@ ttyh*)
M ttyh$U c 77 $U 660 dialer uucp
;;
tty0*)
M tty$U c 36 $U 660 dialer uucp
M cua$U c 36 $(($U+128)) 660 dialer uucp
tty[0-7][0-9a-f])
U=${i#tty*}
o=$(hextod $U)
M tty$U c 36 $o 660 dialer uucp
M cua$U c 36 $(($o+128)) 660 dialer uucp
;;
cua[a-z])


Loading…
Cancel
Save