diff options
author | jhb <jhb@FreeBSD.org> | 2002-02-09 21:16:54 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-02-09 21:16:54 +0000 |
commit | 1fd7d64d57bb494c5cf7e2ebcc391c561f252eb7 (patch) | |
tree | 2045bbc47f128196611ad52c54efcf63b7764d6b /etc | |
parent | 4ed9f7fd062cd8c757f7325cad3bc2ea2c340e84 (diff) | |
download | FreeBSD-src-1fd7d64d57bb494c5cf7e2ebcc391c561f252eb7.zip FreeBSD-src-1fd7d64d57bb494c5cf7e2ebcc391c561f252eb7.tar.gz |
Fix MAKEDEV for RocketPort (rp(4)) cuaR* and ttyR* to work with the
updated driver. The newer driver in current outputs a version string
that contains a space, so we need to eat two words in between RocketPortX
and the number of ports on the board.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/MAKEDEV | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV index e69c569..de1835d 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -1329,7 +1329,7 @@ ttyR?) rm -f ttyR* ttyiR* ttylR* for i in $controllers; do ndevices=$( - dmesg | while read first bar ports rest; do + dmesg | while read first foo bar ports rest; do case "$first" in $i*) echo "$ports" @@ -1369,7 +1369,7 @@ cuaR?) rm -f cuaR* cuaiR* cualR* for i in $controllers; do ndevices=$( - dmesg | while read first bar ports rest; do + dmesg | while read first foo bar ports rest; do case "$first" in $i*) echo "$ports" |