From vanmaren@vanmaren.aros.net  Sun Nov 29 08:49:37 1998
Received: from vanmaren.aros.net (vanmaren.aros.net [208.219.24.33])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA12601
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 29 Nov 1998 08:49:36 -0800 (PST)
          (envelope-from vanmaren@vanmaren.aros.net)
Received: (from vanmaren@localhost)
	by vanmaren.aros.net (8.9.1/8.9.1) id JAA27925;
	Sun, 29 Nov 1998 09:49:23 -0700 (MST)
	(envelope-from vanmaren)
Message-Id: <199811291649.JAA27925@vanmaren.aros.net>
Date: Sun, 29 Nov 1998 09:49:23 -0700 (MST)
From: vanmaren@cs.utah.edu
Reply-To: vanmaren@cs.utah.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: DEC 21152 PCI-PCI bridge chip isn't probed
X-Send-Pr-Version: 3.2

>Number:         8895
>Category:       kern
>Synopsis:       DEC 21152 PCI-PCI bridge chip isn't probed
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 29 09:00:01 PST 1998
>Closed-Date:    Thu Apr 20 14:07:02 PDT 2000
>Last-Modified:  Thu Apr 20 14:08:06 PDT 2000
>Originator:     Kevin Van Maren
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
University of Utah
>Environment:

FreeBSD vanmaren.aros.net 3.0-CURRENT FreeBSD 3.0-CURRENT #4: Mon Nov  9 20:53:15 MST 1998     vanmaren@vanmaren.aros.net:/usr/src/sys/compile/VANMAREN  i386

>Description:

The DEC 21152 PCI-PCI bridge chip, used in most newer multiport ethernet
adapters and the newer Adaptec 3940UW is not identified in pcisupport.c

>How-To-Repeat:

Use a card with that bridge chip, or a motherboard with one on it, and
it won't be identified.

It will be listed as:
chip5: <PCI to PCI bridge (vendor=1011 device=0024)> rev 0x03 on pci0.11.0

instead of as:
chip5: <DEC 21152 PCI-PCI bridge> rev 0x03 on pci0.11.0

>Fix:

This patch will cause it to be listed properly.

Please back-port this patch to 2.2-STABLE in time for 2.2.8.

Index: pcisupport.c
===================================================================
RCS file: /usr/lsrc/FreeBSD/CVS/src/sys/pci/pcisupport.c,v
retrieving revision 1.74
diff -u -r1.74 pcisupport.c
--- pcisupport.c	1998-11-26 14:57:52-07	1.74
+++ pcisupport.c	1998-11-29 09:34:15-07
@@ -238,6 +238,8 @@
 		return ("IBM 82351 PCI-PCI bridge");
 	case 0x00011011:
 		return ("DEC 21050 PCI-PCI bridge");
+	case 0x00241011:
+		return ("DEC 21152 PCI-PCI bridge");
 	case 0x124b8086:
 		return ("Intel 82380FB mobile PCI to PCI bridge");
 	/* VLSI -- vendor 0x1004 */
@@ -825,6 +827,7 @@
 		break;
 #if 0
 	case 0x00011011: /* DEC 21050 */
+	case 0x00241011: /* DEC 21152 */
 	case 0x00221014: /* IBM xxx */
 		writeconfig (config_id, conf_pci2pci);
 		break;
>Release-Note:
>Audit-Trail:

From: vanmaren@cs.utah.edu
To: FreeBSD-gnats-submit@FreeBSD.ORG
Cc:  Subject: kern/8895: DEC 21152 PCI-PCI bridge chip isn't probed
Date: Sun, 29 Nov 1998 09:49:23 -0700 (MST)

 >Number:         8895
 >Category:       kern
 >Synopsis:       DEC 21152 PCI-PCI bridge chip isn't probed
 >Confidential:   no
 >Severity:       non-critical
 >Priority:       medium
 >Responsible:    freebsd-bugs
 >State:          open
 >Quarter:
 >Keywords:
 >Date-Required:
 >Class:          sw-bug
 >Submitter-Id:   current-users
 >Arrival-Date:   Sun Nov 29 09:00:01 PST 1998
 >Last-Modified:
 >Originator:     Kevin Van Maren
 >Organization:
 University of Utah
 >Release:        FreeBSD 3.0-CURRENT i386
 >Environment:
 
 FreeBSD vanmaren.aros.net 3.0-CURRENT FreeBSD 3.0-CURRENT #4: Mon Nov  9 20:53:15 MST 1998     vanmaren@vanmaren.aros.net:/usr/src/sys/compile/VANMAREN  i386
 
 >Description:
 
 The DEC 21152 PCI-PCI bridge chip, used in most newer multiport ethernet
 adapters and the newer Adaptec 3940UW is not identified in pcisupport.c
 
 >How-To-Repeat:
 
 Use a card with that bridge chip, or a motherboard with one on it, and
 it won't be identified.
 
 It will be listed as:
 chip5: <PCI to PCI bridge (vendor=1011 device=0024)> rev 0x03 on pci0.11.0
 
 instead of as:
 chip5: <DEC 21152 PCI-PCI bridge> rev 0x03 on pci0.11.0
 
 >Fix:
 
 This patch will cause it to be listed properly.
 
 Please back-port this patch to 2.2-STABLE in time for 2.2.8.
 
 Index: pcisupport.c
 ===================================================================
 RCS file: /usr/lsrc/FreeBSD/CVS/src/sys/pci/pcisupport.c,v
 retrieving revision 1.74
 diff -u -r1.74 pcisupport.c
 --- pcisupport.c	1998-11-26 14:57:52-07	1.74
 +++ pcisupport.c	1998-11-29 09:34:15-07
 @@ -238,6 +238,8 @@
  		return ("IBM 82351 PCI-PCI bridge");
  	case 0x00011011:
  		return ("DEC 21050 PCI-PCI bridge");
 +	case 0x00241011:
 +		return ("DEC 21152 PCI-PCI bridge");
  	case 0x124b8086:
  		return ("Intel 82380FB mobile PCI to PCI bridge");
  	/* VLSI -- vendor 0x1004 */
 @@ -825,6 +827,7 @@
  		break;
  #if 0
  	case 0x00011011: /* DEC 21050 */
 +	case 0x00241011: /* DEC 21152 */
  	case 0x00221014: /* IBM xxx */
  		writeconfig (config_id, conf_pci2pci);
  		break;
 >Audit-Trail:
 >Unformatted:
 
 To Unsubscribe: send mail to majordomo@FreeBSD.org
 with "unsubscribe freebsd-bugs" in the body of the message
 
 

From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To: vanmaren@cs.utah.edu
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: kern/8895: DEC 21152 PCI-PCI bridge chip isn't probed
Date: Sun, 29 Nov 1998 19:27:43 -0500 (EST)

 <<On Sun, 29 Nov 1998 13:40:00 -0800 (PST), vanmaren@cs.utah.edu said:
 
 >> Synopsis:       DEC 21152 PCI-PCI bridge chip isn't probed
 
 Should make that ``Intel 21152...''.
 
 -GAWollman
 
 --
 Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
 wollman@lcs.mit.edu  | O Siem / The fires of freedom 
 Opinions not those of| Dance in the burning flame
 MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick
State-Changed-From-To: open->closed 
State-Changed-By: wilko 
State-Changed-When: Thu Apr 20 14:07:02 PDT 2000 
State-Changed-Why:  
The chip is identified OK in 4.0 & later: 
pcib1: <DEC 21152 PCI-PCI bridge> at device 20.0 on pci0 
>Unformatted:
