mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-11 14:10:34 +00:00
Missing part of Julians new scsi code, add new driver uk and revise the
entries for st.
This commit is contained in:
parent
44f6e41b43
commit
9d08e5f2ce
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=789
70
etc/MAKEDEV
70
etc/MAKEDEV
@ -71,7 +71,7 @@
|
|||||||
# tw* xten power controller
|
# tw* xten power controller
|
||||||
# snd* various sound cards
|
# snd* various sound cards
|
||||||
#
|
#
|
||||||
# $Id: MAKEDEV,v 1.14 1993/10/28 09:59:27 rgrimes Exp $
|
# $Id: MAKEDEV,v 1.15 1993/11/06 23:22:23 wollman Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
|
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
|
||||||
@ -165,6 +165,12 @@ fd*|sd*|wd*)
|
|||||||
umask 77
|
umask 77
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
uk*)
|
||||||
|
unit=`expr $i : 'uk\(.*\)'`
|
||||||
|
rm -f uk$unit
|
||||||
|
mknod uk$unit c 27 $unit
|
||||||
|
;;
|
||||||
|
|
||||||
com*)
|
com*)
|
||||||
unit=`expr $i : '...\(.*\)'`
|
unit=`expr $i : '...\(.*\)'`
|
||||||
rm -f tty0$unit
|
rm -f tty0$unit
|
||||||
@ -201,43 +207,35 @@ pty*)
|
|||||||
|
|
||||||
st*)
|
st*)
|
||||||
umask 2 ; unit=`expr $i : '..\(.*\)'`
|
umask 2 ; unit=`expr $i : '..\(.*\)'`
|
||||||
case $i in
|
chr=14;
|
||||||
st*) name=st; chr=14;;
|
|
||||||
esac
|
#remove old stype names
|
||||||
rm -f r$name$unit nr$name$unit er$name$unit enr$name$unit
|
rm -f [hml]rst[0123456] [hml][en]rst[0123456] [hml]enrst[0123456]
|
||||||
rm -f hr$name$unit hnr$name$unit her$name$unit henr$name$unit
|
#remove new style names
|
||||||
rm -f mr$name$unit mnr$name$unit mer$name$unit menr$name$unit
|
rm -f rst${unit} [en]rst${unit} enrst${unit}
|
||||||
rm -f lr$name$unit lnr$name$unit ler$name$unit lenr$name$unit
|
rm -f rst${unit}.[0123] nrst${unit}.[0123]\
|
||||||
|
erst${unit}.[0123] st${unit}ctl.[0123]
|
||||||
|
|
||||||
case $unit in
|
case $unit in
|
||||||
0|1|2|3|4|5|6)
|
0|1|2|3|4|5|6)
|
||||||
mknod r${name}${unit} c $chr `expr $unit '*' 16 + 0`
|
for mode in 0 1 2 3
|
||||||
mknod nr${name}${unit} c $chr `expr $unit '*' 16 + 1`
|
do
|
||||||
mknod er${name}${unit} c $chr `expr $unit '*' 16 + 2`
|
mknod rst${unit}.${mode} c $chr `expr $unit '*' 16 + $mode '*' 4 + 0`
|
||||||
mknod hr${name}${unit} c $chr `expr $unit '*' 16 + 4`
|
mknod nrst${unit}.${mode} c $chr `expr $unit '*' 16 + $mode '*' 4 + 1`
|
||||||
mknod hnr${name}${unit} c $chr `expr $unit '*' 16 + 5`
|
mknod erst${unit}.${mode} c $chr `expr $unit '*' 16 + $mode '*' 4 + 2`
|
||||||
mknod her${name}${unit} c $chr `expr $unit '*' 16 + 6`
|
mknod st${unit}ctl.${mode} c $chr `expr $unit '*' 16 + $mode '*' 4 + 3`
|
||||||
mknod mr${name}${unit} c $chr `expr $unit '*' 16 + 8`
|
chgrp operator rst${unit}.${mode}\
|
||||||
mknod mnr${name}${unit} c $chr `expr $unit '*' 16 + 9`
|
nrst${unit}.${mode} \
|
||||||
mknod mer${name}${unit} c $chr `expr $unit '*' 16 + 10`
|
erst${unit}.${mode} \
|
||||||
mknod lr${name}${unit} c $chr `expr $unit '*' 16 + 12`
|
st${unit}ctl.${mode}
|
||||||
mknod lnr${name}${unit} c $chr `expr $unit '*' 16 + 13`
|
chmod 644 rst${unit}.${mode}\
|
||||||
mknod ler${name}${unit} c $chr `expr $unit '*' 16 + 14`
|
nrst${unit}.${mode} \
|
||||||
chgrp operator r${name}${unit} nr${name}${unit} \
|
erst${unit}.${mode}
|
||||||
er${name}${unit}
|
chmod 660 st${unit}ctl.${mode}
|
||||||
chgrp operator hr${name}${unit} hnr${name}${unit} \
|
done
|
||||||
her${name}${unit}
|
ln rst${unit}.0 rst${unit}
|
||||||
chgrp operator mr${name}${unit} mnr${name}${unit} \
|
ln nrst${unit}.0 nrst${unit}
|
||||||
mer${name}${unit}
|
ln erst${unit}.0 erst${unit}
|
||||||
chgrp operator lr${name}${unit} lnr${name}${unit} \
|
|
||||||
ler${name}${unit}
|
|
||||||
chmod 640 r${name}${unit} nr${name}${unit} \
|
|
||||||
er${name}${unit}
|
|
||||||
chmod 640 hr${name}${unit} hnr${name}${unit} \
|
|
||||||
her${name}${unit}
|
|
||||||
chmod 640 mr${name}${unit} mnr${name}${unit} \
|
|
||||||
mer${name}${unit}
|
|
||||||
chmod 640 lr${name}${unit} lnr${name}${unit} \
|
|
||||||
ler${name}${unit}
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo bad unit for tape in: $i
|
echo bad unit for tape in: $i
|
||||||
|
@ -71,7 +71,7 @@
|
|||||||
# tw* xten power controller
|
# tw* xten power controller
|
||||||
# snd* various sound cards
|
# snd* various sound cards
|
||||||
#
|
#
|
||||||
# $Id: MAKEDEV,v 1.14 1993/10/28 09:59:27 rgrimes Exp $
|
# $Id: MAKEDEV,v 1.15 1993/11/06 23:22:23 wollman Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
|
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
|
||||||
@ -165,6 +165,12 @@ fd*|sd*|wd*)
|
|||||||
umask 77
|
umask 77
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
uk*)
|
||||||
|
unit=`expr $i : 'uk\(.*\)'`
|
||||||
|
rm -f uk$unit
|
||||||
|
mknod uk$unit c 27 $unit
|
||||||
|
;;
|
||||||
|
|
||||||
com*)
|
com*)
|
||||||
unit=`expr $i : '...\(.*\)'`
|
unit=`expr $i : '...\(.*\)'`
|
||||||
rm -f tty0$unit
|
rm -f tty0$unit
|
||||||
@ -201,43 +207,35 @@ pty*)
|
|||||||
|
|
||||||
st*)
|
st*)
|
||||||
umask 2 ; unit=`expr $i : '..\(.*\)'`
|
umask 2 ; unit=`expr $i : '..\(.*\)'`
|
||||||
case $i in
|
chr=14;
|
||||||
st*) name=st; chr=14;;
|
|
||||||
esac
|
#remove old stype names
|
||||||
rm -f r$name$unit nr$name$unit er$name$unit enr$name$unit
|
rm -f [hml]rst[0123456] [hml][en]rst[0123456] [hml]enrst[0123456]
|
||||||
rm -f hr$name$unit hnr$name$unit her$name$unit henr$name$unit
|
#remove new style names
|
||||||
rm -f mr$name$unit mnr$name$unit mer$name$unit menr$name$unit
|
rm -f rst${unit} [en]rst${unit} enrst${unit}
|
||||||
rm -f lr$name$unit lnr$name$unit ler$name$unit lenr$name$unit
|
rm -f rst${unit}.[0123] nrst${unit}.[0123]\
|
||||||
|
erst${unit}.[0123] st${unit}ctl.[0123]
|
||||||
|
|
||||||
case $unit in
|
case $unit in
|
||||||
0|1|2|3|4|5|6)
|
0|1|2|3|4|5|6)
|
||||||
mknod r${name}${unit} c $chr `expr $unit '*' 16 + 0`
|
for mode in 0 1 2 3
|
||||||
mknod nr${name}${unit} c $chr `expr $unit '*' 16 + 1`
|
do
|
||||||
mknod er${name}${unit} c $chr `expr $unit '*' 16 + 2`
|
mknod rst${unit}.${mode} c $chr `expr $unit '*' 16 + $mode '*' 4 + 0`
|
||||||
mknod hr${name}${unit} c $chr `expr $unit '*' 16 + 4`
|
mknod nrst${unit}.${mode} c $chr `expr $unit '*' 16 + $mode '*' 4 + 1`
|
||||||
mknod hnr${name}${unit} c $chr `expr $unit '*' 16 + 5`
|
mknod erst${unit}.${mode} c $chr `expr $unit '*' 16 + $mode '*' 4 + 2`
|
||||||
mknod her${name}${unit} c $chr `expr $unit '*' 16 + 6`
|
mknod st${unit}ctl.${mode} c $chr `expr $unit '*' 16 + $mode '*' 4 + 3`
|
||||||
mknod mr${name}${unit} c $chr `expr $unit '*' 16 + 8`
|
chgrp operator rst${unit}.${mode}\
|
||||||
mknod mnr${name}${unit} c $chr `expr $unit '*' 16 + 9`
|
nrst${unit}.${mode} \
|
||||||
mknod mer${name}${unit} c $chr `expr $unit '*' 16 + 10`
|
erst${unit}.${mode} \
|
||||||
mknod lr${name}${unit} c $chr `expr $unit '*' 16 + 12`
|
st${unit}ctl.${mode}
|
||||||
mknod lnr${name}${unit} c $chr `expr $unit '*' 16 + 13`
|
chmod 644 rst${unit}.${mode}\
|
||||||
mknod ler${name}${unit} c $chr `expr $unit '*' 16 + 14`
|
nrst${unit}.${mode} \
|
||||||
chgrp operator r${name}${unit} nr${name}${unit} \
|
erst${unit}.${mode}
|
||||||
er${name}${unit}
|
chmod 660 st${unit}ctl.${mode}
|
||||||
chgrp operator hr${name}${unit} hnr${name}${unit} \
|
done
|
||||||
her${name}${unit}
|
ln rst${unit}.0 rst${unit}
|
||||||
chgrp operator mr${name}${unit} mnr${name}${unit} \
|
ln nrst${unit}.0 nrst${unit}
|
||||||
mer${name}${unit}
|
ln erst${unit}.0 erst${unit}
|
||||||
chgrp operator lr${name}${unit} lnr${name}${unit} \
|
|
||||||
ler${name}${unit}
|
|
||||||
chmod 640 r${name}${unit} nr${name}${unit} \
|
|
||||||
er${name}${unit}
|
|
||||||
chmod 640 hr${name}${unit} hnr${name}${unit} \
|
|
||||||
her${name}${unit}
|
|
||||||
chmod 640 mr${name}${unit} mnr${name}${unit} \
|
|
||||||
mer${name}${unit}
|
|
||||||
chmod 640 lr${name}${unit} lnr${name}${unit} \
|
|
||||||
ler${name}${unit}
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo bad unit for tape in: $i
|
echo bad unit for tape in: $i
|
||||||
|
Loading…
Reference in New Issue
Block a user