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

This commit is contained in:
cokane 2000-06-24 06:36:39 +00:00
parent 94d2790448
commit 7c12974292

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