Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2006 13:01:10 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        freebsd-hardware@freebsd.org
Subject:   nVidia MCP51 NIC
Message-ID:  <6.2.3.4.0.20060817124419.1399e970@64.7.153.2>

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

FYI,
         I was able to get the onboard NIC on a ECS C51GM-M mATX AM2 
GF6100 working with the following patches


am2# diff -u if_nve.c new/if_nve.c
--- if_nve.c    Sat Jun 17 12:46:04 2006
+++ new/if_nve.c        Thu Aug 17 12:46:46 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}
  };

am2# diff -u if_nvereg.h new/if_nvereg.h
--- if_nvereg.h Mon Dec 12 14:40:04 2005
+++ new/if_nvereg.h     Thu Aug 17 12:46:46 2006
@@ -40,6 +40,7 @@
  #define        NFORCE_MCPNET3_DEVICEID 0x00D6
  #define        NFORCE_MCPNET4_DEVICEID 0x0086
  #define        NFORCE_MCPNET5_DEVICEID 0x008C
+#define        NFORCE_MCPNET51_DEVICEID 0x0269
  #define        NFORCE_MCPNET6_DEVICEID 0x00E6
  #define        NFORCE_MCPNET7_DEVICEID 0x00DF
  #define        NFORCE_MCPNET8_DEVICEID 0x0056
am2#

Looking through the LINUX version of the driver (forcedeth), they 
dont seem to do anything special with this version of the NIC

pciconf shows

nve0@pci0:20:0: class=0x068000 card=0x1b571019 chip=0x026910de 
rev=0xa3 hdr=0x00
     vendor   = 'NVIDIA Corporation'
     class    = bridge

am2# ifconfig nve0
nve0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         inet 192.168.43.185 netmask 0xffffff00 broadcast 192.168.43.255
         inet6 fe80::216:ecff:fe9b:c397%nve0 prefixlen 64 scopeid 0x3
         ether 00:16:ec:9b:c3:97
         media: Ethernet autoselect (100baseTX <full-duplex>)
         status: active
am2#

Here is a dmesg of the working board

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
FreeBSD 6.1-STABLE #3: Thu Aug 17 12:53:21 EDT 2006
     mdtancsa@am2.sentex.ca:/usr/obj/usr/src/sys/am2
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (2210.20-MHz 686-class CPU)
   Origin = "AuthenticAMD"  Id = 0x40fb2  Stepping = 2
   Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
   Features2=0x2001<SSE3,CX16>
   AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow+,3DNow>
   AMD Features2=0x1f<LAHF,CMP,<b2>,<b3>,CR8>
   Cores per package: 2
real memory  = 2113863680 (2015 MB)
avail memory = 2063388672 (1967 MB)
ACPI APIC Table: <Nvidia AWRDACPI>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <Nvidia AWRDACPI> on motherboard
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi0: Power Button (fixed)
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <memory, RAM> at device 0.0 (no driver attached)
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <memory, RAM> at device 0.3 (no driver attached)
pci0: <memory, RAM> at device 0.4 (no driver attached)
pci0: <memory, RAM> at device 0.5 (no driver attached)
pci0: <memory, RAM> at device 0.6 (no driver attached)
pci0: <memory, RAM> at device 0.7 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pci0: <display, VGA> at device 5.0 (no driver attached)
pci0: <memory, RAM> at device 9.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 10.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 10.1 (no driver attached)
pci0: <memory, RAM> at device 10.2 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xfe02f000-0xfe02ffff irq 
21 at device 11.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 8 ports with 8 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfe02e000-0xfe02e0ff 
irq 22 at device 11.1 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 8 ports each: usb0
usb1: <EHCI (generic) USB 2.0 controller> on ehci0
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 8 ports with 8 removable, self powered
atapci0: <nVidia nForce MCP51 UDMA133 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf400-0xf40f at device 13.0 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
atapci1: <nVidia nForce MCP51 SATA300 controller> port 
0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xe000-0xe00f mem 
0xfe02d000-0xfe02dfff irq 23 at device 14.0 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
pcib3: <ACPI PCI-PCI bridge> at device 16.0 on pci0
pci3: <ACPI PCI bus> on pcib3
rl0: <RealTek 8139 10/100BaseTX> port 0xac00-0xacff mem 
0xfddff000-0xfddff0ff irq 17 at device 7.0 on pci3
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:50:fc:32:52:a4
pci0: <simple comms, generic modem> at device 16.3 (no driver attached)
nve0: <NVIDIA nForce MCP51 Networking Adapter> port 0xd400-0xd407 mem 
0xfe02b000-0xfe02bfff irq 21 at device 20.0 on pci0
nve0: Ethernet address 00:16:ec:9b:c3:97
miibus1: <MII bus> on nve0
ukphy0: <Generic IEEE 802.3u media interface> on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
nve0: Ethernet address: 00:16:ec:9b:c3:97
acpi_tz0: <Thermal Zone> on acpi0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xd0000-0xd3fff,0xd4000-0xd57ff on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 1.000 msec
ad0: 76319MB <Seagate ST3802110A 3.AAJ> at ata0-master UDMA100
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad0s1a



--------------------------------------------------------------------
Mike Tancsa,                                      tel +1 519 651 3400
Sentex Communications,                            mike@sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike




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