Add an entry for the nmdm devices

This commit is contained in:
Julian Elischer 2001-02-27 18:36:56 +00:00
parent e72bf8707b
commit 5fc391d0cc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=73167

View file

@ -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