summaryrefslogtreecommitdiff
path: root/etc/etc.macppc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-27 04:00:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-27 04:00:03 +0000
commit4174ffcab826c768eda2486c7524d47c1aee3fd1 (patch)
treef4fa61ab5102db3bdc653e29279b30108b308905 /etc/etc.macppc
parent28dd9007ed2a9c81a9c0972f3e06d788f02e30c6 (diff)
make /dev/ttya be an alias for /dev/tty00.
we are making the move where ttya will become the zs devices, and tty00 will support com(4) devices. ok drahn
Diffstat (limited to 'etc/etc.macppc')
-rw-r--r--etc/etc.macppc/MAKEDEV.md24
1 files changed, 23 insertions, 1 deletions
diff --git a/etc/etc.macppc/MAKEDEV.md b/etc/etc.macppc/MAKEDEV.md
index 244eb59fc4f..e4e802be651 100644
--- a/etc/etc.macppc/MAKEDEV.md
+++ b/etc/etc.macppc/MAKEDEV.md
@@ -1,5 +1,5 @@
vers(__file__,
- {-$OpenBSD: MAKEDEV.md,v 1.23 2006/03/15 02:20:28 deraadt Exp $-},
+ {-$OpenBSD: MAKEDEV.md,v 1.24 2006/03/27 04:00:02 deraadt Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org>
@@ -17,6 +17,22 @@ dnl ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
dnl OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
dnl
dnl
+__devitem(s64_tzs, tty[a-z]*, Zilog 8530 serial ports,zs)dnl
+__devitem(s64_czs, cua[a-z]*, Zilog 8530 serial ports,zs)dnl
+_mkdev(s64_tzs, {-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 major_s64_tzs_c $n 660 dialer uucp-})dnl
+_mkdev(s64_czs, 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 major_s64_czs_c Add($n, 128) 660 dialer uucp-})dnl
__devitem(apm, apm, Power management device)dnl
_TITLE(make)
_DEV(all)
@@ -36,6 +52,8 @@ _DEV(ch, 10)
_DEV(st, 20, 5)
_TITLE(term)
_DEV(com, 7)
+_DEV(s64_czs, 7)
+_DEV(s64_tzs, 7)
_TITLE(pty)
_DEV(ptm, 77)
_DEV(pty, 5)
@@ -87,6 +105,8 @@ _std(1, 2, 43, 3, 6)
dnl
dnl *** macppc specific targets
dnl
+twrget(all, s64_tzs, tty, a, b, c, d)dnl
+twrget(all, s64_czs, cua, a, b, c, d)dnl
target(all, ch, 0)dnl
target(all, ss, 0, 1)dnl
target(all, xfs, 0)dnl
@@ -107,5 +127,7 @@ target(ramd, wd, 0, 1, 2, 3, 4)dnl
target(ramd, st, 0, 1)dnl
target(ramd, cd, 0, 1)dnl)dnl
target(ramd, rd, 0)dnl
+target(ramd, ttya, 0, 1)dnl
+target(ramd, ttyb, 0, 1)dnl
target(ramd, tty0, 0, 1)dnl
target(ramd, pty, 0)dnl