summaryrefslogtreecommitdiffstats
path: root/etc/MAKEDEV
diff options
context:
space:
mode:
authortanimura <tanimura@FreeBSD.org>2000-06-11 06:43:16 +0000
committertanimura <tanimura@FreeBSD.org>2000-06-11 06:43:16 +0000
commit423e9563878f579d365a6cd05d272784bd92edc4 (patch)
treee33f7429f0e830f180f941f90eea41572dfd3a4c /etc/MAKEDEV
parent4fc801a85706650d7922df5965352e4517d542fd (diff)
downloadFreeBSD-src-423e9563878f579d365a6cd05d272784bd92edc4.zip
FreeBSD-src-423e9563878f579d365a6cd05d272784bd92edc4.tar.gz
1. Update Comtrol RocketPort driver(rp) to version 3.02.
2. Newbusify the driver. 3. Build as a module. 4. Use correct minor numbers when creating device files. 5. Correctly lock control characters. 6. Return ENXIO when device not configured. Submitted by: Tor Egge <Tor.Egge@fast.no> 7. Fix the baud_table. Submitted by: Elliot Dierksen <ebd@oau.org> Note: - the old driver still lives in src/sys/i386/isa, so that you can revert to it if something goes wrong. - The module does not detach very well. Attaching works fine.
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r--etc/MAKEDEV24
1 files changed, 12 insertions, 12 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index 064466a..06a5794 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -1201,9 +1201,9 @@ ttyR?)
MINOR=$(($BOARD * 65536))
controllers=$(
dmesg | while read first rest; do
- case "\$first" in
+ case "$first" in
RocketPort[0-4])
- echo "\$first"
+ echo "$first"
;;
esac
done
@@ -1212,9 +1212,9 @@ ttyR?)
for i in $controllers; do
ndevices=$(
dmesg | while read first bar ports rest; do
- case "\$first" in
+ case "$first" in
$i*)
- echo "\$ports"
+ echo "$ports"
;;
esac
done
@@ -1223,8 +1223,8 @@ ttyR?)
dev=0
while [ $dev -lt $ndevices ]; do
mknod /dev/ttyR$Rnum c $major $MINOR
- mknod /dev/ttylR$Rnum c $major $(($MINOR + 32))
- mknod /dev/ttyiR$Rnum c $major $(($MINOR + 64))
+ mknod /dev/ttyiR$Rnum c $major $(($MINOR + 32))
+ mknod /dev/ttylR$Rnum c $major $(($MINOR + 64))
Rnum=$(($Rnum + 1))
MINOR=$(($MINOR + 1))
dev=$(($dev + 1))
@@ -1241,9 +1241,9 @@ cuaR?)
MINOR=$(($BOARD * 65536))
controllers=$(
dmesg | while read first rest; do
- case "\$first" in
+ case "$first" in
RocketPort[0-4])
- echo "\$first"
+ echo "$first"
;;
esac
done
@@ -1252,9 +1252,9 @@ cuaR?)
for i in $controllers; do
ndevices=$(
dmesg | while read first bar ports rest; do
- case "\$first" in
+ case "$first" in
$i*)
- echo "\$ports"
+ echo "$ports"
;;
esac
done
@@ -1263,9 +1263,9 @@ cuaR?)
dev=0
while [ $dev -lt $ndevices ]; do
mknod /dev/cuaR$Rnum c $major $(($MINOR + 128)) uucp:dialer
- mknod /dev/cualR$Rnum c $major $(($MINOR + 128 + 32)) \
+ mknod /dev/cuaiR$Rnum c $major $(($MINOR + 128 + 32)) \
uucp:dialer
- mknod /dev/cuaiR$Rnum c $major $(($MINOR + 128 + 64)) \
+ mknod /dev/cualR$Rnum c $major $(($MINOR + 128 + 64)) \
uucp:dialer
Rnum=$(($Rnum + 1))
MINOR=$(($MINOR + 1))
OpenPOWER on IntegriCloud