summaryrefslogtreecommitdiff
path: root/etc/etc.hppa/MAKEDEV
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-02-16 19:05:07 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-02-16 19:05:07 +0000
commit22ec674bc90f6638fc8c248a3011c3de239baa54 (patch)
treeb756eb88ca666a0cfc6a2ab79cb1e8a1a028d2ab /etc/etc.hppa/MAKEDEV
parentf8738c5e7053c5a5d53f39afde190db6c7c15ede (diff)
Regen
Diffstat (limited to 'etc/etc.hppa/MAKEDEV')
-rw-r--r--etc/etc.hppa/MAKEDEV206
1 files changed, 103 insertions, 103 deletions
diff --git a/etc/etc.hppa/MAKEDEV b/etc/etc.hppa/MAKEDEV
index d6180967463..93c60149eeb 100644
--- a/etc/etc.hppa/MAKEDEV
+++ b/etc/etc.hppa/MAKEDEV
@@ -3,9 +3,10 @@
# THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
# generated from:
#
-# OpenBSD: etc.hppa/MAKEDEV.md,v 1.18 2004/02/14 17:24:31 todd Exp
-# OpenBSD: MAKEDEV.mi,v 1.71 2004/02/14 17:24:30 todd Exp
-# OpenBSD: MAKEDEV.sub,v 1.10 2004/02/14 17:24:31 todd Exp
+# OpenBSD: etc.hppa/MAKEDEV.md,v 1.19 2004/02/16 19:01:01 miod Exp
+# OpenBSD: MAKEDEV.common,v 1.1 2004/02/16 18:58:54 miod Exp
+# OpenBSD: MAKEDEV.mi,v 1.72 2004/02/16 18:58:53 miod Exp
+# OpenBSD: MAKEDEV.sub,v 1.11 2004/02/16 18:58:53 miod Exp
#
#
# Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org>
@@ -25,51 +26,50 @@
# Device "make" file. Valid arguments:
# all makes all known devices, including local devices.
# Tries to make the ``standard'' number of each type.
-# std standard devices
-# local configuration specific devices
-# Tapes:
-# st* SCSI tapes
+# ramdisk Ramdisk kernel devices
+# std Standard devices
+# local Configuration specific devices
# Disks:
-# ccd* concatenated disk devices
-# vnd* "file" pseudo-disks
-# rd* "rd" pseudo-disks
-# sd* SCSI disks
+# ccd* Concatenated disk devices
# cd* SCSI cdrom drives
# fd* Floppy disk drives (3 1/2", 5 1/4")
+# sd* SCSI disks
+# rd* "rd" pseudo-disks
+# vnd* "file" pseudo-disk devices
+# Tapes:
+# ch* SCSI media changers
+# st* SCSI tape drives
# Terminal ports:
# tty[0-7][0-9a-f] NS16x50 serial ports
# Pseudo terminals:
-# tty* set of 16 slave pseudo terminals
-# pty* set of 16 master pseudo terminals
# ptm pty master device
-# Printers:
-# lpt* IEEE 1284 centronics printer
+# pty* Set of 16 master pseudo terminals
+# tty* Set of 16 slave pseudo terminals
# Console ports:
-# ttyC0 wscons screen 0
-# ttyC-F* wscons virtual consoles
+# ttyC0 Minimal wscons devices
+# ttyC-F* wscons display devices
# wskbd* wscons keyboards
# wsmux wscons keyboard/mouse mux devices
# Pointing devices:
# wsmouse* wscons mice
-# Call units:
+# Printers:
+# lpt* IEEE 1284 centronics printer
# Special purpose devices:
-# ch* SCSI media changer
-# ss* SCSI scanners
-# uk* SCSI Unknown device
-# fd makes fd/* for the fdescfs
+# audio* Audio devices
# bpf* Berkeley Packet Filter
-# tun* network tunnel driver
-# lkm loadable kernel modules interface
-# *random inkernel random data source
-# pf* Packet Filter
-# pdc PDC device
+# crypto Hardware crypto access driver
+# fd fd/* nodes for fdescfs
+# lkm Loadable kernel modules interface
# pci PCI bus device
-# xfs* XFS filesystem devices
-# systrace* system call tracing device
-# audio* audio device
-# crypto hardware crypto access driver
+# pdc PDC device
+# pf* Packet Filter
+# *random In-kernel random data source
# ses* SES/SAF-TE SCSI devices
-#
+# ss* SCSI scanners
+# systrace* System call tracing device
+# tun* Network tunnel driver
+# uk* SCSI unknown devices
+# xfs* XFS filesystem node
PATH=/sbin:/usr/sbin:/bin:/usr/bin
T=$0
@@ -221,39 +221,32 @@ std)
M klog c 6 0 600
;;
-ses*)
- M ses$U c 37 $U 640 operator
+xfs*)
+ M xfs$U c 32 $U 600
;;
-crypto)
- M crypto c 36 0
+uk*)
+ M uk$U c 15 $U 640 operator
;;
-audio*)
- M sound$U c 35 $U
- M mixer$U c 35 $(($U+16))
- M audio$U c 35 $(($U+128))
- M audioctl$U c 35 $(($U+192))
- MKlist="$MKlist;[ -e audio ] || ln -s audio$U audio"
- MKlist="$MKlist;[ -e mixer ] || ln -s mixer$U mixer"
- MKlist="$MKlist;[ -e sound ] || ln -s sound$U sound"
- MKlist="$MKlist;[ -e audioctl ] || ln -s audioctl$U audioctl"
+tun*)
+ M tun$U c 18 $U 600
;;
systrace)
M systrace c 34 0 644
;;
-xfs*)
- M xfs$U c 32 $U 600
- ;;
-
-pci)
- M pci c 31 0 600
+ss*)
+ M ss$U c 14 $(($U*16)) 640 operator
+ M nss$U c 14 $(($(($U*16))+1)) 640 operator
+ M enss$U c 14 $(($(($U*16))+3)) 640 operator
+ RMlist="$RMlist scan$U"
+ MKlist="$MKlist;umask 77;ln -s ss$U scan$U"
;;
-pf*)
- M pf c 21 0 600
+ses*)
+ M ses$U c 37 $U 640 operator
;;
*random)
@@ -265,16 +258,16 @@ pf*)
done
;;
-lkm)
- M lkm c 19 0 640 _lkm
+pf*)
+ M pf c 21 0 600
;;
-tun*)
- M tun$U c 18 $U 600
+pci)
+ M pci c 31 0 600
;;
-bpf*)
- M bpf$U c 17 $U 600
+lkm)
+ M lkm c 19 0 640 _lkm
;;
fd)
@@ -283,20 +276,31 @@ fd)
MKlist="$MKlist;chmod 555 fd"
;;
-uk*)
- M uk$U c 15 $U 640 operator
+crypto)
+ M crypto c 36 0
;;
-ss*)
- M ss$U c 14 $(($U*16)) 640 operator
- M nss$U c 14 $(($(($U*16))+1)) 640 operator
- M enss$U c 14 $(($(($U*16))+3)) 640 operator
- RMlist="$RMlist scan$U"
- MKlist="$MKlist;umask 77;ln -s ss$U scan$U"
+bpf*)
+ M bpf$U c 17 $U 600
;;
-ch*)
- M ch$U c 13 $U 660 operator
+audio*)
+ M sound$U c 35 $U
+ M mixer$U c 35 $(($U+16))
+ M audio$U c 35 $(($U+128))
+ M audioctl$U c 35 $(($U+192))
+ MKlist="$MKlist;[ -e audio ] || ln -s audio$U audio"
+ MKlist="$MKlist;[ -e mixer ] || ln -s mixer$U mixer"
+ MKlist="$MKlist;[ -e sound ] || ln -s sound$U sound"
+ MKlist="$MKlist;[ -e audioctl ] || ln -s audioctl$U audioctl"
+ ;;
+
+lpt*|lpa*)
+ case $i in
+ lpt*) n=lpt f=0;;
+ lpa*) n=lpa f=128;;
+ esac
+ M $n$U c 30 $(($U+$f)) 600
;;
wsmouse*)
@@ -333,18 +337,6 @@ wscons)
R ttyC6 ttyC7 ttyC8 ttyC9 ttyCa ttyCb
;;
-lpt*|lpa*)
- case $i in
- lpt*) n=lpt f=0;;
- lpa*) n=lpa f=128;;
- esac
- M $n$U c 30 $(($U+$f)) 600
- ;;
-
-ptm)
- M ptm c 38 0 666
- ;;
-
pty*)
if [ $U -gt 15 ]; then
echo bad unit for pty in: $i
@@ -363,6 +355,10 @@ pty*)
done
;;
+ptm)
+ M ptm c 38 0 666
+ ;;
+
tty[0-7][0-9a-f])
U=${i#tty*}
o=$(h2d $U)
@@ -370,6 +366,29 @@ tty[0-7][0-9a-f])
M cua$U c 23 $(($o+128)) 660 dialer uucp
;;
+st*)
+ n=$(($U*16))
+ for pre in " " n e en
+ do
+ M ${pre}st$U b 5 $n 660 operator
+ M ${pre}rst$U c 11 $n 660 operator
+ n=$(($n+1))
+ done
+ ;;
+
+ch*)
+ M ch$U c 13 $U 660 operator
+ ;;
+
+vnd*)
+ dodisk vnd $U 2 8 $U 0
+ dodisk svnd $U 2 8 $U 2048
+ ;;
+
+rd*)
+ dodisk2 rd $U 3 9 $U 0
+ ;;
+
fd*)
typnam=$U${i#fd[01]*}
case $typnam in
@@ -402,25 +421,6 @@ cd*)
dodisk2 cd $U 6 12 $U 0
;;
-rd*)
- dodisk2 rd $U 3 9 $U 0
- ;;
-
-vnd*)
- dodisk vnd $U 2 8 $U 0
- dodisk svnd $U 2 8 $U 2048
- ;;
-
-st*)
- n=$(($U*16))
- for pre in " " n e en
- do
- M ${pre}st$U b 5 $n 660 operator
- M ${pre}rst$U c 11 $n 660 operator
- n=$(($n+1))
- done
- ;;
-
local)
test -s $T.local && sh $T.local
;;
@@ -430,9 +430,9 @@ all)
R cd0 cd1 rd0 tun0 tun1 tun2 tun3 bpf0 bpf1 bpf2 bpf3 bpf4
R bpf5 bpf6 bpf7 bpf8 bpf9 pty0 pty1 pty2 fd1 fd1B fd1C fd1D
R fd1E fd1F fd1G fd1H fd0 fd0B fd0C fd0D fd0E fd0F fd0G fd0H
- R xfs0 ss0 ss1 ch0 ses0 ptm wscons pci audio0 uk0 random lpa0
- R lpa1 lpa2 lpt0 lpt1 lpt2 lkm tty00 tty01 tty02 tty03 crypto
- R pf systrace std st0 st1 fd
+ R xfs0 ss0 ss1 ch0 ses0 ptm local wscons pci audio0 uk0 random
+ R lpa0 lpa1 lpa2 lpt0 lpt1 lpt2 lkm tty00 tty01 tty02 tty03
+ R crypto pf systrace std st0 st1 fd
;;
sd*|ccd*)