From nobody@FreeBSD.org  Sun Nov  5 07:37:49 2006
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 16EE716A40F
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  5 Nov 2006 07:37:49 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7175E43D7C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  5 Nov 2006 07:37:44 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kA57biHY002971
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 5 Nov 2006 07:37:44 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id kA57bilf002969;
	Sun, 5 Nov 2006 07:37:44 GMT
	(envelope-from nobody)
Message-Id: <200611050737.kA57bilf002969@www.freebsd.org>
Date: Sun, 5 Nov 2006 07:37:44 GMT
From: Warren Rees<wrees@htoc.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Patch for getting NVIDIA MCP55 Pro Gigabit Ethernet Driver working
X-Send-Pr-Version: www-3.0

>Number:         105168
>Category:       kern
>Synopsis:       [nve] [patch] Patch for getting NVIDIA MCP55 Pro Gigabit Ethernet Driver working
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 05 07:40:21 GMT 2006
>Closed-Date:    Mon Nov 06 03:52:16 GMT 2006
>Last-Modified:  Mon Nov 06 03:52:16 GMT 2006
>Originator:     Warren Rees
>Release:        6.3-BETA3
>Organization:
>Environment:
FreeBSD epsilon.danima.com 6.2-BETA3 FreeBSD 6.2-BETA3 #1: Sun Nov  5 02:16:21 EST 2006     root@epsilon.danima.com:/usr/src/sys/amd64/compile/DANIMA-x2200  amd64

>Description:
The NVIDIA MCP55 ethernet driver isn't detected on Sun X2200 M2 systems.

This can be quickly resolved by adding the device id's for the MCP55 ethernet into the NVIDIA drivers.

I've only tested this with 10 and 100 basetx, as I don't currently have a gigabit switch kicking around.
>How-To-Repeat:
Load up FreeBSD 6.3-BETA with a Sun X2200, it only detects the Broadcom network controller.
>Fix:
+++ /usr/src/sys/dev/nve/if_nve.c       Sun Nov  5 02:16:06 2006
@@ -237,6 +237,8 @@
        "NVIDIA nForce MCP12 Networking Adapter"},
        {NVIDIA_VENDORID, NFORCE_MCPNET13_DEVICEID,
        "NVIDIA nForce MCP13 Networking Adapter"},
+       {NVIDIA_VENDORID, NFORCE_MCPNET14_DEVICEID,
+       "NVIDIA nForce MCP14 Networking Adapter"},
        {0, 0, NULL}
 };

+++ /usr/src/sys/dev/nve/if_nvereg.h    Sun Nov  5 02:15:43 2006
@@ -48,6 +48,7 @@
 #define        NFORCE_MCPNET11_DEVICEID 0x0038
 #define        NFORCE_MCPNET12_DEVICEID 0x0268
 #define        NFORCE_MCPNET13_DEVICEID 0x0269
+#define        NFORCE_MCPNET14_DEVICEID 0x0373

 #define        NV_RID          0x10

>Release-Note:
>Audit-Trail:

From: Ruslan Ermilov <ru@FreeBSD.org>
To: Warren Rees <wrees@htoc.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/105168: Patch for getting NVIDIA MCP55 Pro Gigabit Ethernet Driver working
Date: Sun, 5 Nov 2006 13:31:00 +0300

 --H+4ONPRPur6+Ovig
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 I'd rather suggest that you try this driver instead:
 
 http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html
 
 
 Cheers,
 --=20
 Ruslan Ermilov
 ru@FreeBSD.org
 FreeBSD committer
 
 --H+4ONPRPur6+Ovig
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.5 (FreeBSD)
 
 iD8DBQFFTb1kqRfpzJluFF4RAnAbAKCTUU9KVRsRndLhNORKzkkti2Q7IQCgldY6
 FoQju3tiPz5PvPWGYdFZ/sc=
 =ovoK
 -----END PGP SIGNATURE-----
 
 --H+4ONPRPur6+Ovig--

From: "Warren Rees" <wrees@htoc.com>
To: "'Ruslan Ermilov'" <ru@FreeBSD.org>
Cc: <freebsd-gnats-submit@FreeBSD.org>
Subject: RE: kern/105168: Patch for getting NVIDIA MCP55 Pro Gigabit Ethernet Driver working
Date: Sun, 5 Nov 2006 20:33:41 -0500

 Ruslan,
 
 Thanks, that appeared to work a little bit better than my patch.  I have
 another slight problem, but I'll open up another trouble ticket (in regards
 to the Broadcom 5715C Dual NIC that's in the X2200's).
 
 Thanks again!
 
 Warren 
 
 -----Original Message-----
 From: Ruslan Ermilov [mailto:ru@FreeBSD.org] 
 Sent: Sunday, November 05, 2006 5:31 AM
 To: Warren Rees
 Cc: freebsd-gnats-submit@FreeBSD.org
 Subject: Re: kern/105168: Patch for getting NVIDIA MCP55 Pro Gigabit
 Ethernet Driver working
 
 I'd rather suggest that you try this driver instead:
 
 http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html
 
 
 Cheers,
 --
 Ruslan Ermilov
 ru@FreeBSD.org
 FreeBSD committer
 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Nov 6 03:50:11 UTC 2006 
State-Changed-Why:  
From misfiled followup (wound up in the GNATS spam-catcher because it was 
90% HTML): 

From: "Warren Rees" <wrees@htoc.com> 
Date: Sun, 5 Nov 2006 20:25:51 -0500 

Thanks, that driver worked well. 

Warren 

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