mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
Add entries for Digiboard serial card and document Specialix driver
entries while I'm at it. Submitted by: "Serge A. Babkin" <babkin@hq.icb.chel.su> + mods by jkh
This commit is contained in:
parent
a29b63cb73
commit
f8bf743c02
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10547
52
etc/MAKEDEV
52
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user