summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>1998-03-02 14:20:32 +0000
committerjason <jason@openbsd.org>1998-03-02 14:20:32 +0000
commitbed676d6ada174338db8bd35a4dddb6e8821ae56 (patch)
tree7e097e8e6069cfd09de39809897aa120d09d889b
parentimprove performance of blowfish encryption, also speeds up blowfish passwords. (diff)
downloadwireguard-openbsd-bed676d6ada174338db8bd35a4dddb6e8821ae56.tar.xz
wireguard-openbsd-bed676d6ada174338db8bd35a4dddb6e8821ae56.zip
add cua devices for tty[a-d]
-rw-r--r--etc/etc.sparc/MAKEDEV8
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/etc.sparc/MAKEDEV b/etc/etc.sparc/MAKEDEV
index 7aefdb8a426..bcee8fef078 100644
--- a/etc/etc.sparc/MAKEDEV
+++ b/etc/etc.sparc/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.37 1998/03/02 05:12:20 todd Exp $
+# $OpenBSD: MAKEDEV,v 1.38 1998/03/02 14:20:32 jason Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -55,7 +55,8 @@
# Pseudo terminals:
# pty* set of 16 master and slave pseudo terminals
# Printers:
-# Call units:
+# Terminal ports:
+# tty[a-d] onboard zs serial ports
# Special purpose devices:
# audio
# openprom
@@ -479,7 +480,8 @@ tty[a-z])
*) echo unknown tty device $i ;;
esac
mknod tty$unit c 12 $n
- chown uucp.wheel tty$unit
+ mknod cua$unit c 12 `add $n 128`
+ chown uucp.wheel tty$unit cua$unit
;;
pty*)