From alexz@visp.ru  Mon Dec 24 01:58:31 2001
Return-Path: <alexz@visp.ru>
Received: from mail.visp.ru (srv1.visp.ru [213.24.160.5])
	by hub.freebsd.org (Postfix) with ESMTP id D387237B417
	for <freebsd-gnats-submit@freebsd.org>; Mon, 24 Dec 2001 01:58:29 -0800 (PST)
Received: from alex.visp.ru ([213.24.160.39] helo=alex)
	by mail.visp.ru with smtp (Exim 3.31 #1)
	id 16IRsG-000DGn-00
	for freebsd-gnats-submit@FreeBSD.org; Mon, 24 Dec 2001 12:58:24 +0300
Message-Id: <GPEFIGKNJAIDINJJPGOOAEOIDJAA.alexz@visp.ru>
Date: Mon, 24 Dec 2001 12:58:24 +0300
From: "Alexander Zagrebin" <alexz@visp.ru>
To: <freebsd-gnats-submit@FreeBSD.org>
Subject: pnp problem in 4.3, 4.4, 4.5

>Number:         33138
>Category:       kern
>Synopsis:       [isa] [patch] pnp problem in 4.3, 4.4, 4.5
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 24 02:00:01 PST 2001
>Closed-Date:    Fri Nov 16 04:24:38 UTC 2007
>Last-Modified:  Fri Nov 16 04:24:38 UTC 2007
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 We have the box running FreeBSD 4.5-PRERELEASE. The box has Asus P5A-B
 motherboard (bios revision is 1010) with AMD K6-2 CPU, Creative Vibra16C PnP
 (ISA) and 3Com 3C509B-Combo in _PnP_mode_ (ISA).
 If both isa cards installed, then kernel refuses to detect 3C509B and
 detects Vibra16C only. After booting /usr/bin/pnpinfo shows information
 about both cards.
 The bios setting "PNP OS Installed" doesn't solves the problem.
 After removing the sound card, the kernel detects the network one and it
 working.
 The same problem existed in 4.3-xxx, 4.4-xxx.
 I know, that setting 3C509 to _non_PNP_ mode solves the problem, but there
 are reasons to use it in PNP mode.
 
 At present i use such patch:
 
 --- pnp.c.orig	Fri Oct 15 01:03:01 1999
 +++ pnp.c		Mon Apr 16 23:00:39 2001
 @@ -743,7 +743,7 @@
  	for (pnp_rd_port = 0x80; (pnp_rd_port < 0xff); pnp_rd_port += 0x10) {
  		if (bootverbose)
  			printf("Trying Read_Port at %x\n", (pnp_rd_port << 2) | 0x3);
 -
 +		pnp_write(PNP_CONFIG_CONTROL, PNP_CONFIG_CONTROL_WAIT_FOR_KEY);
  		num_pnp_devs = pnp_isolation_protocol(parent);
  		if (num_pnp_devs)
  			break;
 
 After this patch kernel detects both isa cards.
 
 Alexander Zagrebin
 JSC "Navigator"
 Vologda, Russia
 --
 
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: dd 
Responsible-Changed-When: Mon Dec 24 11:10:22 PST 2001 
Responsible-Changed-Why:  
misfiled 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33138 
State-Changed-From-To: open->closed 
State-Changed-By: kmacy 
State-Changed-When: Fri Nov 16 04:23:58 UTC 2007 
State-Changed-Why:  

mdodd re-wrote the pnp code for the 3c509 and believes it works correctly now. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=33138 
>Unformatted:
