summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2006-03-27 04:07:48 +0000
committerderaadt <deraadt@openbsd.org>2006-03-27 04:07:48 +0000
commitcf37a69c4748ed2dede21657400b0f8df4c73ccf (patch)
tree1389c612b29306d48ff48e5db93ed929d3efc143
parentmake /dev/ttya be an alias for /dev/tty00. (diff)
downloadwireguard-openbsd-cf37a69c4748ed2dede21657400b0f8df4c73ccf.tar.xz
wireguard-openbsd-cf37a69c4748ed2dede21657400b0f8df4c73ccf.zip
ttya now is same as tty00 (for a few days)
-rw-r--r--etc/etc.macppc/MAKEDEV32
1 files changed, 27 insertions, 5 deletions
diff --git a/etc/etc.macppc/MAKEDEV b/etc/etc.macppc/MAKEDEV
index c4d19f8a3fe..0d099ccb43a 100644
--- a/etc/etc.macppc/MAKEDEV
+++ b/etc/etc.macppc/MAKEDEV
@@ -3,7 +3,7 @@
# THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
# generated from:
#
-# OpenBSD: etc.macppc/MAKEDEV.md,v 1.23 2006/03/15 02:20:28 deraadt Exp
+# OpenBSD: etc.macppc/MAKEDEV.md,v 1.24 2006/03/27 04:00:02 deraadt Exp
# OpenBSD: MAKEDEV.common,v 1.23 2005/12/27 19:02:42 miod Exp
# OpenBSD: MAKEDEV.mi,v 1.77 2005/10/06 06:43:19 otto Exp
# OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp
@@ -42,6 +42,8 @@
# st* SCSI tape drives
# Terminal ports:
# tty[0-7][0-9a-f] NS16x50 serial ports
+# cua[a-z]* Zilog 8530 serial ports
+# tty[a-z]* Zilog 8530 serial ports
# Pseudo terminals:
# ptm pty master device
# pty* Set of 62 master pseudo terminals
@@ -426,6 +428,26 @@ ptm)
M ptm c 77 0 666
;;
+tty[a-z])
+ u=${i#tty*}
+ case $u in
+ a) n=0 ;;
+ b) n=1 ;;
+ *) echo unknown tty device $i ;;
+ esac
+ M tty$u c 7 $n 660 dialer uucp
+ ;;
+
+cua[a-z])
+ u=${i#cua*}
+ case $u in
+ a) n=0 ;;
+ b) n=1 ;;
+ *) echo unknown cua device $i ;;
+ esac
+ M cua$u c 7 $(($n+128)) 660 dialer uucp
+ ;;
+
tty[0-7][0-9a-f])
U=${i#tty*}
o=$(h2d $U)
@@ -473,10 +495,10 @@ all)
R gpio0 gpio1 gpio2 ccd0 ccd1 ccd2 ccd3 vnd0 vnd1 vnd2 vnd3
R sd0 sd1 sd2 sd3 sd4 cd0 cd1 rd0 tun0 tun1 tun2 tun3 bpf0
R bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 pty0 xfs0 ss0
- R ss1 ch0 hotplug ptm local wscons pci iop0 iop1 uall tuner0
- R radio0 audio0 uk0 random lkm tty00 tty01 tty02 tty03 apm
- R crypto pf systrace wd0 wd1 wd2 wd3 raid0 raid1 raid2 raid3
- R std st0 st1 fd
+ R ss1 ch0 cuaa cuab cuac cuad ttya ttyb ttyc ttyd hotplug ptm
+ R local wscons pci iop0 iop1 uall tuner0 radio0 audio0 uk0
+ R random lkm tty00 tty01 tty02 tty03 apm crypto pf systrace
+ R wd0 wd1 wd2 wd3 raid0 raid1 raid2 raid3 std st0 st1 fd
;;
wd*|sd*|raid*|ccd*)