From b5550d52c4583bdcdd69712ec6ec85f9b5af3750 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 30 Dec 1996 20:51:36 +0000 Subject: While being here, also create all the gsc device nodes as described in the gsc(4) man page, and allow for more than one unit number. --- etc/MAKEDEV | 14 +++++++++----- etc/etc.i386/MAKEDEV | 14 +++++++++----- 2 files changed, 18 insertions(+), 10 deletions(-) (limited to 'etc') diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 71a9f08..54b7687 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 71a9f08..54b7687 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*) -- cgit v1.1