diff options
author | Steve Price <steve@FreeBSD.org> | 1998-01-09 18:32:51 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1998-01-09 18:32:51 +0000 |
commit | 62778de06ef421e18a945bf940b4e5016fd42b26 (patch) | |
tree | 229d8d44ef169b0d3ceec3ce65584c4b3255004f /etc | |
parent | cac17432031328631163dacfe1d5c2231eac9f1b (diff) | |
download | src-62778de06ef421e18a945bf940b4e5016fd42b26.tar.gz src-62778de06ef421e18a945bf940b4e5016fd42b26.zip |
Fix generation of Comtrol RocketPort devices.
PR: 5468
Submitted by: Steve Gericke <steveg@comtrol.com>
Notes
Notes:
svn path=/head/; revision=32372
Diffstat (limited to 'etc')
-rw-r--r-- | etc/MAKEDEV | 5 | ||||
-rw-r--r-- | etc/etc.i386/MAKEDEV | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 1da8fd9bfaa9..03b5ae44d3a7 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -106,7 +106,7 @@ # perfmon CPU performance-monitoring counters # pci PCI configuration-space access from user mode # -# $Id: MAKEDEV,v 1.147 1998/01/02 22:16:15 jkh Exp $ +# $Id: MAKEDEV,v 1.148 1998/01/03 11:53:52 jkh Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH @@ -891,7 +891,7 @@ ttyR?) cuaR?) major=81 - CUnum=128; ICUnum=160; LCUnum=192 + Rnum=0; CUnum=128; ICUnum=160; LCUnum=192 unit=1; minor=0 dmesg | grep ^RocketPort[0-4] > /tmp/rp_list controllers=`awk '{print $1}' < /tmp/rp_list` @@ -910,6 +910,7 @@ cuaR?) name=cuaiR$Rnum echo -n "$name " mknod /dev/$name c $major $ICUnum + Rnum=`expr $Rnum + 1` CUnum=`expr $CUnum + 1` LCUnum=`expr $LCUnum + 1` ICUnum=`expr $ICUnum + 1` diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index 1da8fd9bfaa9..03b5ae44d3a7 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -106,7 +106,7 @@ # perfmon CPU performance-monitoring counters # pci PCI configuration-space access from user mode # -# $Id: MAKEDEV,v 1.147 1998/01/02 22:16:15 jkh Exp $ +# $Id: MAKEDEV,v 1.148 1998/01/03 11:53:52 jkh Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH @@ -891,7 +891,7 @@ ttyR?) cuaR?) major=81 - CUnum=128; ICUnum=160; LCUnum=192 + Rnum=0; CUnum=128; ICUnum=160; LCUnum=192 unit=1; minor=0 dmesg | grep ^RocketPort[0-4] > /tmp/rp_list controllers=`awk '{print $1}' < /tmp/rp_list` @@ -910,6 +910,7 @@ cuaR?) name=cuaiR$Rnum echo -n "$name " mknod /dev/$name c $major $ICUnum + Rnum=`expr $Rnum + 1` CUnum=`expr $CUnum + 1` LCUnum=`expr $LCUnum + 1` ICUnum=`expr $ICUnum + 1` |