summaryrefslogtreecommitdiffstats
path: root/etc/MAKEDEV
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2001-02-27 18:36:56 +0000
committerjulian <julian@FreeBSD.org>2001-02-27 18:36:56 +0000
commit21c0f33eb6f3893684db867881dbcd4a72d8923b (patch)
tree7503b5ac2ba1ffda2684dd1f62ff2000faab228c /etc/MAKEDEV
parent00392505c31157e6b39c5355e57cd1581b186500 (diff)
downloadFreeBSD-src-21c0f33eb6f3893684db867881dbcd4a72d8923b.zip
FreeBSD-src-21c0f33eb6f3893684db867881dbcd4a72d8923b.tar.gz
Add an entry for the nmdm devices
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r--etc/MAKEDEV13
1 files changed, 13 insertions, 0 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index 745da93..0446fc5 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -1076,6 +1076,19 @@ vty*)
ln -fs ttyv0 vga # XXX X still needs this pccons relic
;;
+nmdm*)
+ units=`expr $i : 'nmdm\(.*\)'`
+ chr=18
+ i=0
+ while [ $i -lt $units ]; do
+ minor=`unit2minor $i`
+ minor=$(($minor + $minor))
+ mknod nmdm${i}A c $chr $minor
+ mknod nmdm${i}B c $chr $(($minor + 1))
+ i=$(($i + 1))
+ done
+ ;;
+
bpf*)
nbpf=`expr $i : 'bpf\(.*\)$'`
unit=0
OpenPOWER on IntegriCloud