diff options
author | peter <peter@FreeBSD.org> | 1995-08-13 22:05:51 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1995-08-13 22:05:51 +0000 |
commit | 34e7694b239c9c1e6cc884ce310d3471e11019cd (patch) | |
tree | d27840f835001590bfc90551877fdf9eba2f1982 /etc | |
parent | 34376c5be441a95847ffcd53033e9d5f5f75a5bd (diff) | |
download | FreeBSD-src-34e7694b239c9c1e6cc884ce310d3471e11019cd.zip FreeBSD-src-34e7694b239c9c1e6cc884ce310d3471e11019cd.tar.gz |
Add simple hooks to create /dev entries for the Specialix driver
Reviewed by:
Submitted by:
Obtained from:
Diffstat (limited to 'etc')
-rw-r--r-- | etc/MAKEDEV | 32 | ||||
-rw-r--r-- | etc/etc.i386/MAKEDEV | 32 |
2 files changed, 62 insertions, 2 deletions
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 |