Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  6 Sep 2000 22:25:27 -0700 (PDT)
From:      buchanan@orbitworld.net
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/21087: ed driver incorrectly fails probe for ISA HP PCLAN+
Message-ID:  <20000907052527.930A637B422@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         21087
>Category:       i386
>Synopsis:       ed driver incorrectly fails probe for ISA HP PCLAN+
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 06 22:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000907052527.930A637B422>