From nobody@FreeBSD.org  Fri Jun 28 18:13:36 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A1F6937B400
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Jun 2002 18:13:36 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 44E9343E1A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Jun 2002 18:13:36 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g5T1DZOT012823
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Jun 2002 18:13:35 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g5T1DZLC012822;
	Fri, 28 Jun 2002 18:13:35 -0700 (PDT)
Message-Id: <200206290113.g5T1DZLC012822@www.freebsd.org>
Date: Fri, 28 Jun 2002 18:13:35 -0700 (PDT)
From: Morten Aaboe Jensen <morten@codemonkey.dk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: fxp driver doesn't detect the 82562 chipset on Intel EthernetExpress NICs
X-Send-Pr-Version: www-1.0

>Number:         39974
>Category:       kern
>Synopsis:       fxp driver doesn't detect the 82562 chipset on Intel EthernetExpress NICs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    silby
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 28 18:20:01 PDT 2002
>Closed-Date:    Mon Jul 29 22:31:35 PDT 2002
>Last-Modified:  Mon Jul 29 22:31:35 PDT 2002
>Originator:     Morten Aaboe Jensen
>Release:        4.6-RELEASE
>Organization:
>Environment:
FreeBSD  4.6-STABLE FreeBSD 4.6--STABLE #0: Sat Jun 29 02:45:20 CEST 2002     root@:/usr/obj/usr/src/sys/KENNY  i386
>Description:
The fxp driver doesn't claim ownership of the i82562 chipset, and causes some embedded NICs not to be detected.

Output from 'pciconf -lv':

fxp0@pci2:8:0:  class=0x020000 card=0x80711043 chip=0x103a8086 rev=0x81 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801DB (ICH4) LAN Controller with 82562ET/EZ (CNR) PHY'
    class    = network
    subclass = ethernet

Just adding an entry catching 0x103A to if_fxp.c fixes the problem.

>How-To-Repeat:
Just boot any machine with a NIC using the i82562 chipset
>Fix:
Add an entry to sys/dev/fxp/if_fxp.c to catch the new chipset.

--- if_fxp.c    Sat Jun 29 03:07:03 2002
+++ if_fxp.c-patched    Sat Jun 29 03:06:43 2002
@@ -160,6 +160,7 @@
     { 0x1037,          "Intel Pro/100 Ethernet" },
     { 0x1038,          "Intel Pro/100 Ethernet" },
     { 0x1039,          "Intel Pro/100 Ethernet" },
+    { 0x103A,          "Intel Pro/100 Ethernet" },
     { 0,               NULL },
 };
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: silby 
State-Changed-When: Fri Jun 28 18:56:24 PDT 2002 
State-Changed-Why:  
Committed to -current, will be MFC'd to -stable very soon. 

Thanks for the patch! 


Responsible-Changed-From-To: freebsd-bugs->silby 
Responsible-Changed-By: silby 
Responsible-Changed-When: Fri Jun 28 18:56:24 PDT 2002 
Responsible-Changed-Why:  
Committed to -current, will be MFC'd to -stable very soon. 

Thanks for the patch! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39974 
State-Changed-From-To: patched->closed 
State-Changed-By: silby 
State-Changed-When: Mon Jul 29 22:30:41 PDT 2002 
State-Changed-Why:  
I MFC'd this quite a while ago. 

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