summaryrefslogtreecommitdiff
path: root/etc/etc.socppc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-09-04 12:18:43 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-09-04 12:18:43 +0000
commit5f86ebb1d8d1e131e074a173957575950b506808 (patch)
treed63d76d7dd095e01b5a01337df628fe3403c487b /etc/etc.socppc
parent0cb9417fa1bc83776b7674ec3503eb92a639e166 (diff)
Regen
Diffstat (limited to 'etc/etc.socppc')
-rw-r--r--etc/etc.socppc/MAKEDEV58
1 files changed, 29 insertions, 29 deletions
diff --git a/etc/etc.socppc/MAKEDEV b/etc/etc.socppc/MAKEDEV
index 887ea4458de..5fa3680f1b8 100644
--- a/etc/etc.socppc/MAKEDEV
+++ b/etc/etc.socppc/MAKEDEV
@@ -47,15 +47,15 @@
# pty* Set of 62 master pseudo terminals
# tty* Set of 62 slave pseudo terminals
# Console ports:
-# wscons Minimal wscons devices
# ttyC-J* wscons display devices
+# wscons Minimal wscons devices
# wskbd* wscons keyboards
# wsmux wscons keyboard/mouse mux devices
# Pointing devices:
# wsmouse* wscons mice
# USB devices:
-# uall All USB devices
# ttyU* USB serial ports
+# uall All USB devices
# ugen* Generic USB devices
# uhid* Generic HID devices
# ulpt* Printer devices
@@ -69,11 +69,13 @@
# bpf* Berkeley Packet Filter
# bthub* Bluetooth Hubs
# crypto Hardware crypto access driver
+# diskmap Disk mapper
# fd fd/* nodes
-# hotplug devices hot plugging
# gpio* General Purpose Input/Output
+# hotplug devices hot plugging
# iop* I2O controller devices
# lkm Loadable kernel modules interface
+# nnpfs* NNPFS filesystem node
# pci* PCI bus devices
# pf* Packet Filter
# radio* FM tuner devices
@@ -82,9 +84,7 @@
# tun* Network tunnel driver
# uk* Unknown SCSI devices
# video* Video V4L2 devices
-# nnpfs* NNPFS filesystem node
# vscsi* Virtual SCSI controller
-# diskmap Disk mapper
PATH=/sbin:/usr/sbin:/bin:/usr/bin
T=$0
@@ -225,18 +225,10 @@ std)
;;
-diskmap)
- M diskmap c 82 0 640 operator
- ;;
-
vscsi*)
M vscsi$U c 78 $U 600
;;
-nnpfs*)
- M nnpfs$U c 51 $U 600
- ;;
-
video*)
M video$U c 44 $U
MKlist[${#MKlist[*]}]=";[ -e video ] || ln -s video$U video"
@@ -277,6 +269,10 @@ pci*)
MKlist[${#MKlist[*]}]=";[ -h pci ] || ln -sf pci0 pci"
;;
+nnpfs*)
+ M nnpfs$U c 51 $U 600
+ ;;
+
lkm)
M lkm c 24 0 640 _lkm
;;
@@ -285,20 +281,24 @@ iop*)
M iop$U c 73 $U 660
;;
-gpio*)
- M gpio$U c 79 $U 600
- ;;
-
hotplug)
M hotplug c 78 $U 400
;;
+gpio*)
+ M gpio$U c 79 $U 600
+ ;;
+
fd)
RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0
while [ $n -lt 64 ];do M fd/$n c 21 $n;n=$(($n+1));done
MKlist[${#MKlist[*]}]=";chmod 555 fd"
;;
+diskmap)
+ M diskmap c 82 0 640 operator
+ ;;
+
crypto)
M crypto c 47 0
;;
@@ -360,6 +360,12 @@ ugen*)
done
;;
+uall)
+ R ttyU0 ttyU1 ttyU2 ttyU3 ugen0 ugen1 ulpt0 ulpt1 uhid0 uhid1
+ R uhid2 uhid3 uscanner0 urio0 usb0 usb1 usb2 usb3 usb4 usb5
+ R usb6 usb7
+ ;;
+
ttyU[0-9a-zA-Z])
U=${i#ttyU*}
o=$(alph2d $U)
@@ -367,12 +373,6 @@ ttyU[0-9a-zA-Z])
M cuaU$U c 66 $(($o+128)) 660 dialer uucp
;;
-uall)
- R ttyU0 ttyU1 ttyU2 ttyU3 ugen0 ugen1 ulpt0 ulpt1 uhid0 uhid1
- R uhid2 uhid3 uscanner0 urio0 usb0 usb1 usb2 usb3 usb4 usb5
- R usb6 usb7
- ;;
-
wsmouse[0-9]*)
M wsmouse$U c 69 $U 600
;;
@@ -386,6 +386,12 @@ wskbd[0-9]*)
M wskbd$U c 68 $U 600
;;
+wscons)
+ R wsmouse0 wsmouse1 wsmouse2 wsmouse3 wskbd0 wskbd1 wskbd2
+ R wskbd3 wsmux ttyCcfg ttyC0 ttyC1 ttyC2 ttyC3 ttyC4 ttyC5
+ R ttyC6 ttyC7 ttyC8 ttyC9 ttyCa ttyCb
+ ;;
+
tty[C-J]*)
U=${i##tty[C-J]}
case $i in
@@ -405,12 +411,6 @@ tty[C-J]*)
esac
;;
-wscons)
- R wsmouse0 wsmouse1 wsmouse2 wsmouse3 wskbd0 wskbd1 wskbd2
- R wskbd3 wsmux ttyCcfg ttyC0 ttyC1 ttyC2 ttyC3 ttyC4 ttyC5
- R ttyC6 ttyC7 ttyC8 ttyC9 ttyCa ttyCb
- ;;
-
pty*)
if [ $U -gt 15 ]; then
echo bad unit for pty in: $i