Project

General

Profile

Feature #1036

any thought into absorbing portions of nfo driver into nge (nVidia ethernet)

Added by Richard PALO about 9 years ago. Updated about 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2011-05-15
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

I'm curious if there has been any thought into absorbing the missing nVidia ethernet device support found in the nfo drivers into the maintained nge driver. It appears that nge contains from nForce4 and onward.

nfo driver adds as well: (from http://homepage2.nifty.com/mrym3/taiyodo/eng/
in nfo_gem.c

static struct chip_info nfo_chiptbl[] = {
0x10de,    0x01c3,    "type1 (nForce MCP)",        0,
0x10de,    0x0066,    "type2 (nForce MCP-T)",        CAP_RESET,
0x10de,    0x00d6,    "type3 (nForce3 150)",        CAP_RESET,
0x10de,    0x0086,    "type4 (nForce2 MCP-R)",    CAP_JUMBO | CAP_CKSUM,
0x10de,    0x008c,    "type5 (nForce2 MCP-Gb)",    CAP_JUMBO | CAP_CKSUM,
0x10de,    0x00e6,    "type6 (nForce3 250Gb)",    CAP_JUMBO | CAP_CKSUM,
0x10de,    0x00df,    "type7 (nForce3 250)",        CAP_JUMBO | CAP_CKSUM,

I notice that freebsd uses a unified driver called nfe.
From the freebsd tree src/sys/dev/nfe/if_nfereg.h

#define    PCI_PRODUCT_NVIDIA_NFORCE_LAN        0x01C3
#define    PCI_PRODUCT_NVIDIA_NFORCE2_LAN        0x0066
#define    PCI_PRODUCT_NVIDIA_NFORCE3_LAN1        0x00D6
#define    PCI_PRODUCT_NVIDIA_NFORCE2_400_LAN1    0x0086
#define    PCI_PRODUCT_NVIDIA_NFORCE2_400_LAN2    0x008C
#define    PCI_PRODUCT_NVIDIA_NFORCE3_250_LAN    0x00E6
#define    PCI_PRODUCT_NVIDIA_NFORCE3_LAN4        0x00DF
#define    PCI_PRODUCT_NVIDIA_NFORCE4_LAN1        0x0056
#define    PCI_PRODUCT_NVIDIA_NFORCE4_LAN2        0x0057
#define    PCI_PRODUCT_NVIDIA_MCP04_LAN1        0x0037
#define    PCI_PRODUCT_NVIDIA_MCP04_LAN2        0x0038
#define    PCI_PRODUCT_NVIDIA_NFORCE430_LAN1    0x0268
#define    PCI_PRODUCT_NVIDIA_NFORCE430_LAN2    0x0269
#define    PCI_PRODUCT_NVIDIA_MCP55_LAN1        0x0372
#define    PCI_PRODUCT_NVIDIA_MCP55_LAN2        0x0373
#define    PCI_PRODUCT_NVIDIA_MCP61_LAN1        0x03e5
#define    PCI_PRODUCT_NVIDIA_MCP61_LAN2        0x03e6
#define    PCI_PRODUCT_NVIDIA_MCP61_LAN3        0x03ee
#define    PCI_PRODUCT_NVIDIA_MCP61_LAN4        0x03ef
#define    PCI_PRODUCT_NVIDIA_MCP65_LAN1        0x0450
#define    PCI_PRODUCT_NVIDIA_MCP65_LAN2        0x0451
#define    PCI_PRODUCT_NVIDIA_MCP65_LAN3        0x0452
#define    PCI_PRODUCT_NVIDIA_MCP65_LAN4        0x0453
#define    PCI_PRODUCT_NVIDIA_MCP67_LAN1        0x054c
#define    PCI_PRODUCT_NVIDIA_MCP67_LAN2        0x054d
#define    PCI_PRODUCT_NVIDIA_MCP67_LAN3        0x054e
#define    PCI_PRODUCT_NVIDIA_MCP67_LAN4        0x054f
#define    PCI_PRODUCT_NVIDIA_MCP73_LAN1        0x07dc
#define    PCI_PRODUCT_NVIDIA_MCP73_LAN2        0x07dd
#define    PCI_PRODUCT_NVIDIA_MCP73_LAN3        0x07de
#define    PCI_PRODUCT_NVIDIA_MCP73_LAN4        0x07df
#define    PCI_PRODUCT_NVIDIA_MCP77_LAN1        0x0760
#define    PCI_PRODUCT_NVIDIA_MCP77_LAN2        0x0761
#define    PCI_PRODUCT_NVIDIA_MCP77_LAN3        0x0762
#define    PCI_PRODUCT_NVIDIA_MCP77_LAN4        0x0763
#define    PCI_PRODUCT_NVIDIA_MCP79_LAN1        0x0ab0
#define    PCI_PRODUCT_NVIDIA_MCP79_LAN2        0x0ab1
#define    PCI_PRODUCT_NVIDIA_MCP79_LAN3        0x0ab2
#define    PCI_PRODUCT_NVIDIA_MCP79_LAN4        0x0ab3

#define    PCI_PRODUCT_NVIDIA_NFORCE3_LAN2    PCI_PRODUCT_NVIDIA_NFORCE2_400_LAN1
#define    PCI_PRODUCT_NVIDIA_NFORCE3_LAN3    PCI_PRODUCT_NVIDIA_NFORCE2_400_LAN2
#define    PCI_PRODUCT_NVIDIA_NFORCE3_LAN5    PCI_PRODUCT_NVIDIA_NFORCE3_250_LAN
#define    PCI_PRODUCT_NVIDIA_CK804_LAN1    PCI_PRODUCT_NVIDIA_NFORCE4_LAN1
#define    PCI_PRODUCT_NVIDIA_CK804_LAN2    PCI_PRODUCT_NVIDIA_NFORCE4_LAN2
#define    PCI_PRODUCT_NVIDIA_MCP51_LAN1    PCI_PRODUCT_NVIDIA_NFORCE430_LAN1
#define    PCI_PRODUCT_NVIDIA_MCP51_LAN2    PCI_PRODUCT_NVIDIA_NFORCE430_LAN2

Thanks in advance,

History

#1

Updated by Garrett D'Amore about 9 years ago

I've long thought this was a good idea. I don't have any systems with the 100 Mbps nvidia ethernet though, so I can't do the work.

#2

Updated by Jon Strabala about 8 years ago

I am pretty sure my chipset, (proposal to Garret and Richard) s a MCP61, I would be willing to "test" any code for this Feature #1036.

FYI, my test system is a Compaq Presario CQ5329F Desktop, SKU BK137AA, Motherboard: M2N68-LA (Narra6), Chipset: NVIDIA GeForce 6150SE nForce 430, Realtek RTL8201N 10/100 Mb/s - full specs at http://bizsupport1.austin.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&taskId=120&prodSeriesId=4079828&prodTypeId=12454&objectID=c02035420.

Also available in: Atom PDF