kern/97063: Added DEFINE to if_nve.c/if_nvereg.h to get NIC working on Asus K8N-VM

Kai Hugo Hustoft Endresen kaihugoh at stud.ntnu.no
Tue May 9 23:20:15 UTC 2006


>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 at 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:


More information about the freebsd-bugs mailing list