diff options
-rw-r--r-- | etc/MAKEDEV | 52 | ||||
-rw-r--r-- | etc/etc.i386/MAKEDEV | 52 |
2 files changed, 102 insertions, 2 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 8dade5e..6b9b5d9 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -59,6 +59,10 @@ # Terminal ports: # tty* general purpose serial ports # cua* dialout serial ports +# ttyA* Specialix SI/XIO dialin ports +# cuaA* Specialix SI/XIO dialout ports +# ttyD* Digiboard - 16 dialin ports +# cuaD* Digiboard - 16 dialout ports # # Pseudo terminals: # pty* set of 32 master and slave pseudo terminals @@ -88,7 +92,7 @@ # isdn* ISDN devices # labpc* National Instrument's Lab-PC and LAB-PC+ # -# $Id: MAKEDEV,v 1.102 1995/08/18 11:29:05 jkh Exp $ +# $Id: MAKEDEV,v 1.103 1995/08/19 15:50:56 joerg Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin: @@ -778,6 +782,52 @@ si_control) chown root.wheel si_control ;; +# Digiboard PC/?? 16 port card. +# The current scheme of minor numbering is: +# +# unused{14} CARD{2} major{8} CALLOUT{1} LOCK{1} INIT{1} unused{1} PORT{4} +# +# PORT bitfield in future versions may be extended to 5 bits. +# CARD bitfield in future versions may be extended to 3 bits. +ttyD?) + nports=16 + major=58 + card=`expr $i : 'tty.*\(.\)$'` + port=0 + while [ $port -lt $nports ]; do + minor=`expr $card \* 65536 + $port` + name=`expr $card \* 100 + $port + 1000 | cut -c 2-4` + rm -f tty*D$name + mknod ttyD$name c $major $minor + chown root.wheel ttyD$name + mknod ttyiD$name c $major `expr $minor + 32` + chown root.wheel ttyiD$name + mknod ttylD$name c $major `expr $minor + 64` + chown root.wheel ttylD$name + port=`expr $port + 1` + done + ;; +cuaD?) + nports=16 + major=58 + card=`expr $i : 'cua.*\(.\)$'` + umask 7 + port=0 + while [ $port -lt $nports ]; do + minor=`expr $card \* 65536 + $port` + name=`expr $card \* 100 + $port + 1000 | cut -c 2-4` + rm -f cua*D$name + mknod cuaD$name c $major `expr $minor + 128` + chown uucp.dialer cuaD$name + mknod cuaiD$name c $major `expr $minor + 160` + chown uucp.dialer cuaiD$name + mknod cualD$name c $major `expr $minor + 192` + chown uucp.dialer cualD$name + port=`expr $port + 1` + done + umask 77 + ;; + mse*) unit=`expr $i : 'mse\(.*\)'` chr=27 diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index 8dade5e..6b9b5d9 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -59,6 +59,10 @@ # Terminal ports: # tty* general purpose serial ports # cua* dialout serial ports +# ttyA* Specialix SI/XIO dialin ports +# cuaA* Specialix SI/XIO dialout ports +# ttyD* Digiboard - 16 dialin ports +# cuaD* Digiboard - 16 dialout ports # # Pseudo terminals: # pty* set of 32 master and slave pseudo terminals @@ -88,7 +92,7 @@ # isdn* ISDN devices # labpc* National Instrument's Lab-PC and LAB-PC+ # -# $Id: MAKEDEV,v 1.102 1995/08/18 11:29:05 jkh Exp $ +# $Id: MAKEDEV,v 1.103 1995/08/19 15:50:56 joerg Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin: @@ -778,6 +782,52 @@ si_control) chown root.wheel si_control ;; +# Digiboard PC/?? 16 port card. +# The current scheme of minor numbering is: +# +# unused{14} CARD{2} major{8} CALLOUT{1} LOCK{1} INIT{1} unused{1} PORT{4} +# +# PORT bitfield in future versions may be extended to 5 bits. +# CARD bitfield in future versions may be extended to 3 bits. +ttyD?) + nports=16 + major=58 + card=`expr $i : 'tty.*\(.\)$'` + port=0 + while [ $port -lt $nports ]; do + minor=`expr $card \* 65536 + $port` + name=`expr $card \* 100 + $port + 1000 | cut -c 2-4` + rm -f tty*D$name + mknod ttyD$name c $major $minor + chown root.wheel ttyD$name + mknod ttyiD$name c $major `expr $minor + 32` + chown root.wheel ttyiD$name + mknod ttylD$name c $major `expr $minor + 64` + chown root.wheel ttylD$name + port=`expr $port + 1` + done + ;; +cuaD?) + nports=16 + major=58 + card=`expr $i : 'cua.*\(.\)$'` + umask 7 + port=0 + while [ $port -lt $nports ]; do + minor=`expr $card \* 65536 + $port` + name=`expr $card \* 100 + $port + 1000 | cut -c 2-4` + rm -f cua*D$name + mknod cuaD$name c $major `expr $minor + 128` + chown uucp.dialer cuaD$name + mknod cuaiD$name c $major `expr $minor + 160` + chown uucp.dialer cuaiD$name + mknod cualD$name c $major `expr $minor + 192` + chown uucp.dialer cualD$name + port=`expr $port + 1` + done + umask 77 + ;; + mse*) unit=`expr $i : 'mse\(.*\)'` chr=27 |