Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2006 23:19:32 GMT
From:      Kai Hugo Hustoft Endresen <kaihugoh@stud.ntnu.no>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/97063: Added DEFINE to if_nve.c/if_nvereg.h to get NIC working on Asus K8N-VM
Message-ID:  <200605092319.k49NJWmi079949@www.freebsd.org>
Resent-Message-ID: <200605092320.k49NKE60081086@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         97063
>Category:       kern
>Synopsis:       Added DEFINE to if_nve.c/if_nvereg.h to get NIC working on Asus K8N-VM
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 09 23:20:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Kai Hugo Hustoft Endresen
>Release:        6.1-STABLE
>Organization:
Norwegian University of Science and Technology
>Environment:
FreeBSD euler.sorcererx.net 6.1-STABLE FreeBSD 6.1-STABLE #2: Wed May 10 00:48:41 CEST 2006     sorcererx@euler.sorcererx.net:/usr/obj/usr/src/sys/EULER  amd64

>Description:
the onboard Network card on Asus K8N-VM is not detected properly.
It is a nForce MCP51 Ethernet Controller (PHY is Realtek ALC8201CL (RTL8201CL)).
lspci gives:
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a1)
00:14.0 0680: 10de:0269 (rev a1)

by adding the diffs below I get:
nve0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::215:f2ff:fe5a:1a42%nve0 prefixlen 64 scopeid 0x2 
        inet 129.241.138.218 netmask 0xfffffe00 broadcast 129.241.139.255
        ether 00:15:f2:5a:1a:42
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active


>How-To-Repeat:

>Fix:
--- /usr/src/sys/dev/nve/if_nve.c       Sun Dec 25 22:57:03 2005
+++ /usr/src/sys/dev/nve/if_nve.c    Wed May 10 01:07:59 2006
@@ -235,6 +235,8 @@
        "NVIDIA nForce MCP10 Networking Adapter"},
        {NVIDIA_VENDORID, NFORCE_MCPNET11_DEVICEID,
        "NVIDIA nForce MCP11 Networking Adapter"},
+       {NVIDIA_VENDORID, NFORCE_MCPNET51_DEVICEID,
+       "NVIDIA nFORCE MCP51 Networking Adapter"},
        {0, 0, NULL}
 };
--- /usr/src/sys/dev/nve/if_nvereg.h    Mon Dec 12 20:40:04 2005
+++ /usr/src/sys/dev/nve/if_nvereg.h Wed May 10 01:07:59 2006
@@ -46,6 +46,7 @@
 #define        NFORCE_MCPNET9_DEVICEID 0x0057
 #define        NFORCE_MCPNET10_DEVICEID 0x0037
 #define        NFORCE_MCPNET11_DEVICEID 0x0038 
+#define NFORCE_MCPNET51_DEVICEID 0x0269
 
 #define        NV_RID          0x10

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605092319.k49NJWmi079949>