diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-08-09 21:00:53 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-08-09 21:00:53 +0000 |
commit | 091625bd946781e0b28302e018e3555b2e862f67 (patch) | |
tree | 56c08fa494a6911c77650e3e414e5220d6ef37ca /sys/dev/pci | |
parent | 3de197e4e26d25bcca1159cb258d2c3e2038e488 (diff) |
MCP79 are also capable of Jumbo frames. Add the Jumbo support flag.
From: Linux forcedeth
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_nfe.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/pci/if_nfe.c b/sys/dev/pci/if_nfe.c index d41d1e8ac76..043eab7d460 100644 --- a/sys/dev/pci/if_nfe.c +++ b/sys/dev/pci/if_nfe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_nfe.c,v 1.79 2008/05/23 08:49:27 brad Exp $ */ +/* $OpenBSD: if_nfe.c,v 1.80 2008/08/09 21:00:52 brad Exp $ */ /*- * Copyright (c) 2006, 2007 Damien Bergamini <damien.bergamini@free.fr> @@ -240,11 +240,14 @@ nfe_attach(struct device *parent, struct device *self, void *aux) 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: |