From vovk@infocom.km.ua  Tue Mar 13 08:00:07 2007
Return-Path: <vovk@infocom.km.ua>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 2C80B16A400
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 13 Mar 2007 08:00:07 +0000 (UTC)
	(envelope-from vovk@infocom.km.ua)
Received: from infocom.km.ua (infocom.km.ua [195.46.36.1])
	by mx1.freebsd.org (Postfix) with ESMTP id A846C13C45A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 13 Mar 2007 08:00:06 +0000 (UTC)
	(envelope-from vovk@infocom.km.ua)
Received: from infocom.km.ua (localhost [127.0.0.1])
	by infocom.km.ua (8.13.8/8.13.8/ic) with ESMTP id l2D7lK0c040636
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 13 Mar 2007 09:47:32 +0200 (EET)
	(envelope-from vovk@infocom.km.ua)
Received: (from root@localhost)
	by infocom.km.ua (8.13.8/8.13.8/Submit) id l2D7lKZJ040628;
	Tue, 13 Mar 2007 09:47:20 +0200 (EET)
	(envelope-from vovk)
Message-Id: <200703130747.l2D7lKZJ040628@infocom.km.ua>
Date: Tue, 13 Mar 2007 09:47:20 +0200 (EET)
From: Vyacheslav Vovk <vovk@km.ua>
Reply-To: Vyacheslav Vovk <vovk@km.ua>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Intel D946GZAB motherboard ethernet unsupported
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         110251
>Category:       kern
>Synopsis:       [fxp] [patch] Intel D946GZAB motherboard ethernet unsupported
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 13 08:10:05 GMT 2007
>Closed-Date:    Wed Apr 11 17:15:08 GMT 2007
>Last-Modified:  Wed Apr 11 17:20:11 GMT 2007
>Originator:     Vyacheslav Vovk
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD v.ic.km.ua 6.2-RELEASE FreeBSD 6.2-STABLE #1: Wed Feb 12 15:07:31 vovk@v.ic.km.ua:/usr/obj/usr/src/sys/v amd64
>Description:
The device id for the onboard ethernet for the Intel D946GZAB classic
motherboard seems to be unsupported.

technical product spec says: "10/100 Mbit/sec LAN subsystem using the
Intel (r) 82562GX Platform LAN Connect (PLC) device.

pciconf -l
none0@pci0:31:3: class=0x0c0500 card=0x42418086 chip=0x27da8086 rev=0x01 hdr=0x00

I added

{ 0x27da, -1,     "Intel 82562GX (ICH7) Pro/100 Ethernet" },

to the fxp_ident_table in /usr/src/sys/dev/fxp/if_fxp.c

card detected, but not work

fxp0: <Intel 82562GX (ICH7) Pro/100 Ethernet> port 0x2000-0x201f irq 19 at device 31.3 on pci0
fxp0: failed to enable memory mapping!
device_attach: fxp0 attach returned 6

>How-To-Repeat:
>Fix:


>Release-Note:
>Audit-Trail:

From: Vyacheslav Vovk <vovk@km.ua>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/110251: [fxp] [patch] Intel D496GZAB motherboard ethernet unsupported
Date: Tue, 13 Mar 2007 18:51:56 +0200

 correct patch
 
 --- /usr/src/sys/dev/fxp/if_fxp.c.orig  Mon Nov 20 18:22:32 2006
 +++ /usr/src/sys/dev/fxp/if_fxp.c       Wed Mar 14 00:45:18 2007
 @@ -179,6 +179,7 @@
      { 0x1065,  -1,     "Intel 82562ET/EZ/GT/GZ PRO/100 VE Ethernet" },
      { 0x1068,  -1,     "Intel 82801FBM (ICH6-M) Pro/100 VE Ethernet" },
      { 0x1069,  -1,     "Intel 82562EM/EX/GX Pro/100 Ethernet" },
 +    { 0x1091,  -1,     "Intel 82562GX Pro/100 Ethernet" },
      { 0x1092,  -1,     "Intel Pro/100 VE Network Connection" },
      { 0x1093,  -1,     "Intel Pro/100 VM Network Connection" },
      { 0x1094,  -1,     "Intel Pro/100 946GZ (ICH7) Network Connection" },
 
 -- 
 wbr, vyacheslav [vovk-uanic]
Responsible-Changed-From-To: freebsd-bugs->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Wed Mar 14 20:00:57 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110251 
State-Changed-From-To: open->patched 
State-Changed-By: remko 
State-Changed-When: Wed Mar 28 18:11:04 UTC 2007 
State-Changed-Why:  
Patched in -current 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110251 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/110251: commit references a PR
Date: Wed, 28 Mar 2007 18:11:03 +0000 (UTC)

 remko       2007-03-28 18:10:50 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/dev/fxp          if_fxp.c 
   Log:
   Add support for the 82562GX chip within if_fxp.
   
   PR:             110251
   Submitted by:   Vyacheslav Vovk
   Approved by:    imp (mentor)
   MFC After:      3 days
   
   Revision  Changes    Path
   1.265     +1 -0      src/sys/dev/fxp/if_fxp.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: remko 
State-Changed-When: Wed Apr 11 17:15:03 UTC 2007 
State-Changed-Why:  
MFC'ed to RELENG_6 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110251 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/110251: commit references a PR
Date: Wed, 11 Apr 2007 17:13:24 +0000 (UTC)

 remko       2007-04-11 17:13:16 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     sys/dev/fxp          if_fxp.c 
   Log:
   MFC if_fxp rev 1.265
     Add support for the 82562GX chip within if_fxp.
   
     PR:             110251
     Submitted by:   Vyacheslav Vovk
     Approved by:    imp (mentor)
     MFC After:      3 days
   
   Approved by:    imp (mentor, implicit)
   
   Revision    Changes    Path
   1.240.2.12  +1 -0      src/sys/dev/fxp/if_fxp.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
