summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1996-12-30 20:51:36 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1996-12-30 20:51:36 +0000
commit513a014830b693bb3813b31bfb490f135eb748f8 (patch)
tree03e4a28b0197156a20e359e00fbcc9706b3ab5ec
parenteffbfcfdc6290e1eec934b23b51206d7a7b40fa5 (diff)
Notes
-rw-r--r--etc/MAKEDEV14
-rw-r--r--etc/etc.i386/MAKEDEV14
2 files changed, 18 insertions, 10 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index 71a9f08ff252..54b7687848e2 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -102,7 +102,7 @@
# perfmon CPU performance-monitoring counters
# pci PCI configuration-space access from user mode
#
-# $Id: MAKEDEV,v 1.128 1996/11/14 14:28:26 andreas Exp $
+# $Id: MAKEDEV,v 1.129 1996/12/13 07:54:57 jkh Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH
@@ -1000,10 +1000,14 @@ vat)
;;
gsc*)
- rm -f gsc0
- mknod gsc0 c 47 0
- chmod 666 gsc0
- chown root.wheel gsc0
+ unit=`expr $i : 'gsc\(.*\)'`
+ rm -f gsc${unit}*
+ mknod gsc${unit} c 47 $unit
+ mknod gsc${unit}p c 47 $(($unit + 8))
+ mknod gsc${unit}d c 47 $(($unit + 32))
+ mknod gsc${unit}pd c 47 $(($unit + 40))
+ chmod 666 gsc${unit}*
+ chown root.wheel gsc${unit}*
;;
apm*)
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV
index 71a9f08ff252..54b7687848e2 100644
--- a/etc/etc.i386/MAKEDEV
+++ b/etc/etc.i386/MAKEDEV
@@ -102,7 +102,7 @@
# perfmon CPU performance-monitoring counters
# pci PCI configuration-space access from user mode
#
-# $Id: MAKEDEV,v 1.128 1996/11/14 14:28:26 andreas Exp $
+# $Id: MAKEDEV,v 1.129 1996/12/13 07:54:57 jkh Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH
@@ -1000,10 +1000,14 @@ vat)
;;
gsc*)
- rm -f gsc0
- mknod gsc0 c 47 0
- chmod 666 gsc0
- chown root.wheel gsc0
+ unit=`expr $i : 'gsc\(.*\)'`
+ rm -f gsc${unit}*
+ mknod gsc${unit} c 47 $unit
+ mknod gsc${unit}p c 47 $(($unit + 8))
+ mknod gsc${unit}d c 47 $(($unit + 32))
+ mknod gsc${unit}pd c 47 $(($unit + 40))
+ chmod 666 gsc${unit}*
+ chown root.wheel gsc${unit}*
;;
apm*)