aboutsummaryrefslogtreecommitdiff
path: root/etc/MAKEDEV
diff options
context:
space:
mode:
authorRoman Kurakin <rik@FreeBSD.org>2004-04-07 09:53:54 +0000
committerRoman Kurakin <rik@FreeBSD.org>2004-04-07 09:53:54 +0000
commit23a07ddd61a286ca8b59eb144ca51c9bc80dbfd4 (patch)
tree6e3bebc969622a21a204d1be87cfb5d233e361b4 /etc/MAKEDEV
parentf20404ef12d64daae3a2397edcd189f2a6825b57 (diff)
downloadsrc-23a07ddd61a286ca8b59eb144ca51c9bc80dbfd4.tar.gz
src-23a07ddd61a286ca8b59eb144ca51c9bc80dbfd4.zip
MFC: Add ct control devices for Cronyx Tau.
Notes
Notes: svn path=/stable/4/; revision=128001
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r--etc/MAKEDEV18
1 files changed, 18 insertions, 0 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index fc43a13eaa07..5e7831b6a7c5 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -161,6 +161,7 @@
# agpgart AGP interface
# cfs* Coda Distributed Filesystem
# nsmb* SMB/CIFS protocol interface
+# ct* Control devices for Cronyx/Tau adapters
# cx* Control devices for Cronyx/Sigma adapters
#
@@ -349,6 +350,7 @@ all)
sh MAKEDEV crypto # cdev, crypto
sh MAKEDEV fw0 # cdev, firewire
sh MAKEDEV dcons # cdev, dcons
+ sh MAKEDEV ct # cdev, Cronyx/Tau
sh MAKEDEV cx ttyx ttyy ttyz cuax cuay cuaz # cdev, Cronyx/Sigma
;;
@@ -1643,6 +1645,22 @@ card*)
chmod 644 card$unit
;;
+ct*)
+ unit=`expr $i : 'c.\(.*\)'`
+ if [ ! $unit ]; then
+ unit=0
+ while [ $unit -lt 6 ]
+ do
+ mknod ${i}${unit} c 99 $unit
+ chmod 644 ${i}${unit}
+ unit=$(($unit + 1))
+ done
+ else
+ mknod ${i} c 99 $unit
+ chmod 644 ${i}
+ fi
+ ;;
+
cx*)
unit=`expr $i : 'c.\(.*\)'`
if [ ! $unit ]; then