Browse Source

Add ttyZ for cyclades-Z cards

OPENBSD_3_0
nate 23 years ago
parent
commit
dbf8271dbd
1 changed files with 12 additions and 1 deletions
  1. +12
    -1
      src/etc/etc.i386/MAKEDEV

+ 12
- 1
src/etc/etc.i386/MAKEDEV View File

@ -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


Loading…
Cancel
Save