From 670c16878d4ebc7aed2bf4c24096108c637b54d1 Mon Sep 17 00:00:00 2001 From: brad Date: Sat, 9 Aug 2008 21:00:52 +0000 Subject: [PATCH] MCP79 are also capable of Jumbo frames. Add the Jumbo support flag. From: Linux forcedeth --- sys/dev/pci/if_nfe.c | 7 +++++-- 1 file 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 @@ -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: -- 2.20.1