Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

nfe(4): someone with an MCP79 chip, please test



Hi!


According to the Linux driver, the MCP79 chip supports
JUMBO frames.

Someone with an MCP79 chip, please test the attached patch.

Christoph

Index: if_nfe.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/if_nfe.c,v
retrieving revision 1.39
diff -u -p -r1.39 if_nfe.c
--- if_nfe.c    18 Jan 2009 11:21:06 -0000      1.39
+++ if_nfe.c    11 Feb 2009 23:44:04 -0000
@@ -292,11 +292,14 @@ nfe_attach(device_t parent, device_t sel
        case PCI_PRODUCT_NVIDIA_MCP77_LAN2:
        case PCI_PRODUCT_NVIDIA_MCP77_LAN3:
        case PCI_PRODUCT_NVIDIA_MCP77_LAN4:
+               sc->sc_flags |= NFE_40BIT_ADDR | NFE_HW_CSUM |
+                   NFE_CORRECT_MACADDR | NFE_PWR_MGMT;
+               break;
        case PCI_PRODUCT_NVIDIA_MCP79_LAN1:
        case PCI_PRODUCT_NVIDIA_MCP79_LAN2:
        case PCI_PRODUCT_NVIDIA_MCP79_LAN3:
        case PCI_PRODUCT_NVIDIA_MCP79_LAN4:
-               sc->sc_flags |= NFE_40BIT_ADDR | NFE_HW_CSUM |
+               sc->sc_flags |= NFE_JUMBO_SUP | NFE_40BIT_ADDR | NFE_HW_CSUM |
                    NFE_CORRECT_MACADDR | NFE_PWR_MGMT;
                break;
        case PCI_PRODUCT_NVIDIA_CK804_LAN1:


Home | Main Index | Thread Index | Old Index