Bug 20292

Summary: MAKEDEV does not create RocketPort devices
Product: Base System Reporter: marc <marc>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-RELEASE   
Hardware: Any   
OS: Any   

Description marc 2000-07-30 00:00:01 UTC
after installing a RocketPort PCI card (8 port) and recompiling
the kernel with "device rp0", I tried adding the "cuaR" devices
with /dev/MAKEDEV cuaR0.  This did nothing.  It failed to detect
the controler.

The shell script MAKEDEV used the syntax "\$first" in several
places.  The escape character is the problem.  I edited the
script and removed the \ from 8 locations.  That fixed the problem.

I have not checked to see if this is a problem elsewhere in the
script.

Fix: 

diff MAKEDEV MAKEDEV.org

1192c1192
< 			case "$first" in
---
> 			case "\$first" in
1194c1194
< 				echo "$first"
---
> 				echo "\$first"
1203c1203
< 			case "$first" in
---
> 			case "\$first" in
1205c1205
< 				echo "$ports"
---
> 				echo "\$ports"
1232c1232
< 			case "$first" in
---
> 			case "\$first" in
1234c1234
< 				echo "$first"
---
> 				echo "\$first"
1243c1243
< 			case "$first" in
---
> 			case "\$first" in
1245c1245
< 				echo "$ports"
---
> 				echo "\$ports"
How-To-Repeat: Add RocketPort card
Recompile kernel with "rp0"
run /dev/MAKEDEV cuaR0
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-07-31 10:26:38 UTC
State Changed
From-To: open->closed

This was fixed in rev 1.243.2.7 on 2000-06-11.