From nobody@FreeBSD.ORG  Wed Sep  6 22:25:27 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 930A637B422; Wed,  6 Sep 2000 22:25:27 -0700 (PDT)
Message-Id: <20000907052527.930A637B422@hub.freebsd.org>
Date: Wed,  6 Sep 2000 22:25:27 -0700 (PDT)
From: buchanan@orbitworld.net
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: ed driver incorrectly fails probe for ISA HP PCLAN+
X-Send-Pr-Version: www-1.0

>Number:         21087
>Category:       i386
>Synopsis:       ed driver incorrectly fails probe for ISA HP PCLAN+
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tanimura
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 06 22:30:01 PDT 2000
>Closed-Date:    Wed Oct 31 11:46:27 PST 2001
>Last-Modified:  Wed Oct 31 11:46:57 PST 2001
>Originator:     M. B. Buchanan
>Release:        4.1-RELEASE
>Organization:
>Environment:
FreeBSD  4.1-RELEASE 
FreeBSD 4.1-RELEASE #5: Thu Sep  7 00:00:24 CDT 2000     
root@:/usr/src/sys/compile/V20000905  
i386
>Description:
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.
>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.
>Fix:
Change the last line of ed_probe_HP_pclanp() to return zero.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->tanimura 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Fri Sep 8 06:30:40 PDT 2000 
Responsible-Changed-Why:  
Tanimura-san, could you take a look at this? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21087 
State-Changed-From-To: open->closed 
State-Changed-By: asmodai 
State-Changed-When: Wed Oct 31 11:46:27 PST 2001 
State-Changed-Why:  
Fixed in CURRENT and STABLE. 

Sorry for the long turn-around. 
Thanks! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=21087 
>Unformatted:
