From 34e7694b239c9c1e6cc884ce310d3471e11019cd Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 13 Aug 1995 22:05:51 +0000 Subject: Add simple hooks to create /dev entries for the Specialix driver Reviewed by: Submitted by: Obtained from: --- etc/MAKEDEV | 32 +++++++++++++++++++++++++++++++- etc/etc.i386/MAKEDEV | 32 +++++++++++++++++++++++++++++++- 2 files changed, 62 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 8290464..79644c2 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -87,7 +87,7 @@ # isdn* ISDN devices # labpc* National Instrument's Lab-PC and LAB-PC+ # -# $Id: MAKEDEV,v 1.99 1995/07/30 12:56:26 jkh Exp $ +# $Id: MAKEDEV,v 1.100 1995/08/01 13:15:52 jkh Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin: @@ -725,6 +725,36 @@ ttym?) chown root.wheel ttym$unit ;; +# Specialix SI/XIO. +# Note: these are 'base 1' to match the numbers on the panels, and to match +# the manual that comes with the system. +ttyA?) + unit=`expr $i : 'tty.*\(.\)$'` + rm -f tty*A$unit + m=`ttyminor $unit` + mknod ttyA$unit c 68 `expr $m - 1` + mknod ttyiA$unit c 68 `expr $m + 65536 - 1` + mknod ttylA$unit c 68 `expr $m + 131072 - 1` + chown root.wheel ttyA$unit + ;; +cuaA?) + umask 7 + unit=`expr $i : 'cua.*\(.\)$'` + rm -f cuaA$unit + m=`ttyminor $unit` + mknod cuaA$unit c 68 `expr $m + 128 - 1` + chown uucp.dialer cuaA$unit + umask 77 + ;; + +# the user mode process "gets" to the card via this.. +si_control) + rm -f si_control + mknod si_control c 68 262144 + chmod 600 si_control + chown root.wheel si_control + ;; + mse*) unit=`expr $i : 'mse\(.*\)'` chr=27 diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index 8290464..79644c2 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -87,7 +87,7 @@ # isdn* ISDN devices # labpc* National Instrument's Lab-PC and LAB-PC+ # -# $Id: MAKEDEV,v 1.99 1995/07/30 12:56:26 jkh Exp $ +# $Id: MAKEDEV,v 1.100 1995/08/01 13:15:52 jkh Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin: @@ -725,6 +725,36 @@ ttym?) chown root.wheel ttym$unit ;; +# Specialix SI/XIO. +# Note: these are 'base 1' to match the numbers on the panels, and to match +# the manual that comes with the system. +ttyA?) + unit=`expr $i : 'tty.*\(.\)$'` + rm -f tty*A$unit + m=`ttyminor $unit` + mknod ttyA$unit c 68 `expr $m - 1` + mknod ttyiA$unit c 68 `expr $m + 65536 - 1` + mknod ttylA$unit c 68 `expr $m + 131072 - 1` + chown root.wheel ttyA$unit + ;; +cuaA?) + umask 7 + unit=`expr $i : 'cua.*\(.\)$'` + rm -f cuaA$unit + m=`ttyminor $unit` + mknod cuaA$unit c 68 `expr $m + 128 - 1` + chown uucp.dialer cuaA$unit + umask 77 + ;; + +# the user mode process "gets" to the card via this.. +si_control) + rm -f si_control + mknod si_control c 68 262144 + chmod 600 si_control + chown root.wheel si_control + ;; + mse*) unit=`expr $i : 'mse\(.*\)'` chr=27 -- cgit v1.1