Bug 21087

Summary: ed driver incorrectly fails probe for ISA HP PCLAN+
Product: Base System Reporter: buchanan <buchanan>
Component: i386Assignee: tanimura
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-RELEASE   
Hardware: Any   
OS: Any   

Description buchanan 2000-09-07 06:30:01 UTC
ed_probe_HP_pclanp() in /sys/dev/ed/if_ed.c returns ED_HPP_IO_PORTS (32)
after a successful probe, instead of zero as device_probe_child() in
/sys/kern/subr_bus.c expects.  device_probe_child() then (silently!)
fails to attach the device.  Returning ED_HPP_IO_PORTS (the number of
I/O ports occupied by the device) appears to be behavior from the v3
driver that was missed in building the v4 driver.

Fix: 

Change the last line of ed_probe_HP_pclanp() to return zero.
How-To-Repeat: Install/configure HP PCLAN+ card; boot 4.1-RELEASE install media; 
configure ed0 device appropriately; observe that ed0 is not detected.
Compare with 3.4-RELEASE behavior.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-09-08 14:30:40 UTC
Responsible Changed
From-To: freebsd-bugs->tanimura

Tanimura-san, could you take a look at this?
Comment 2 Jeroen Ruigrok van der Werven freebsd_committer freebsd_triage 2001-10-31 19:46:27 UTC
State Changed
From-To: open->closed

Fixed in CURRENT and STABLE. 

Sorry for the long turn-around. 
Thanks!