From owner-freebsd-bugs Wed Sep 6 22:30: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 870AB37B424 for ; Wed, 6 Sep 2000 22:30:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA49003; Wed, 6 Sep 2000 22:30:01 -0700 (PDT) (envelope-from gnats@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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: i386/21087: ed driver incorrectly fails probe for ISA HP PCLAN+ Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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