Add 3dfxN to MAKEDEV, automatically links 3dfx to the last 3dfxN made.

This commit is contained in:
Coleman Kane 2000-06-24 06:36:39 +00:00
parent 7e23685d60
commit bf0ad6d752
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62029

View File

@ -138,6 +138,7 @@
# pci PCI configuration-space access from user mode
# ipl ipfilter control devices (ipl, ipnat, ipstate, ipauth)
# kbd keyboard devices
# 3dfx* 3dfx voodoo device for glide (tdfx), links 3dfx to 3dfx#
#
if [ -n "$MAKEDEVPATH" ]; then
@ -1543,6 +1544,12 @@ mlx*)
mknod mlx$unit c 130 $unit
;;
3dfx*)
unit=`expr $i : '3dfx\(.*\)'`
mknod 3dfx$unit c 107 $unit
ln -s 3dfx$unit 3dfx
;;
twe*)
unit=`expr $i : 'twe\(.*\)'`
mknod twe$unit c 146 $unit