diff options
author | Nathan Binkert <nate@cvs.openbsd.org> | 2001-06-21 13:24:03 +0000 |
---|---|---|
committer | Nathan Binkert <nate@cvs.openbsd.org> | 2001-06-21 13:24:03 +0000 |
commit | 8f447d7c12b9e9c663e53f2fac2e4aed6f46e5ef (patch) | |
tree | afe14d4516df7ac74a76cfd29cc7ae368553ef35 | |
parent | 1563926162fa9306a6a8c642cfd658595f08870f (diff) |
Add ttyZ for cyclades-Z cards
-rw-r--r-- | etc/etc.i386/MAKEDEV | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index dc81223094d..aa43870f082 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.96 2001/06/04 17:59:48 millert Exp $ +# $OpenBSD: MAKEDEV,v 1.97 2001/06/21 13:24:02 nate Exp $ # $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $ # # Copyright (c) 1990 The Regents of the University of California. @@ -60,6 +60,7 @@ # Terminal ports: # tty* PC COM ports # ttyc* Cyclades serial ports +# ttyZ* Cyclades-Ze serial ports # # Pseudo terminals: # pty* set of 16 master and slave pseudo terminals @@ -341,6 +342,16 @@ ttyc*) chmod 660 ttyc$unit cuac$unit ;; +ttyZ*) + major=71 + minor=$unit + rm -f ttyZ$minor cuaZ$minor + mknod ttyZ$minor c $major $(($minor )) + mknod cuaZ$minor c $major $(($minor + 128 )) + chown uucp.wheel ttyZ$minor cuaZ$minor + chmod 600 ttyZ$minor cuaZ$minor + ;; + fd) rm -f fd/* mkdir fd > /dev/null 2>&1 |