summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorcokane <cokane@FreeBSD.org>2000-06-24 06:36:39 +0000
committercokane <cokane@FreeBSD.org>2000-06-24 06:36:39 +0000
commitf3680800aaed268ba8b95bbd5a8ea04ca9ec4cc4 (patch)
tree1dce538fdc948ddbb385cb1aaecbe3e8e5aac140 /etc
parente2e762d53113dd2f35dd617d6b90b00a8fd36523 (diff)
downloadFreeBSD-src-f3680800aaed268ba8b95bbd5a8ea04ca9ec4cc4.zip
FreeBSD-src-f3680800aaed268ba8b95bbd5a8ea04ca9ec4cc4.tar.gz
Add 3dfxN to MAKEDEV, automatically links 3dfx to the last 3dfxN made.
Diffstat (limited to 'etc')
-rw-r--r--etc/MAKEDEV7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index 06a5794..17c08b6 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -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
OpenPOWER on IntegriCloud