summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-02-05 16:52:51 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-02-05 16:52:51 +0000
commit948637227c57ff9f5e768bc1f9f6cee10b50d903 (patch)
tree501b731756b78463331b7158f6dfd65b44caf072
parent6efcb5353e2a858c7b4ce8ea28567db393411616 (diff)
Add the NFE_CORRECT_MACADDR flag for MCP77/79 chipsets.
ok jsg@ dlg@
-rw-r--r--sys/dev/pci/if_nfe.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_nfe.c b/sys/dev/pci/if_nfe.c
index 841910aeddd..b3d4989e1f3 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.76 2008/01/02 03:43:54 brad Exp $ */
+/* $OpenBSD: if_nfe.c,v 1.77 2008/02/05 16:52:50 brad Exp $ */
/*-
* Copyright (c) 2006, 2007 Damien Bergamini <damien.bergamini@free.fr>
@@ -250,7 +250,8 @@ nfe_attach(struct device *parent, struct device *self, void *aux)
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 | NFE_PWR_MGMT;
+ sc->sc_flags |= NFE_40BIT_ADDR | NFE_HW_CSUM |
+ NFE_CORRECT_MACADDR | NFE_PWR_MGMT;
break;
case PCI_PRODUCT_NVIDIA_CK804_LAN1:
case PCI_PRODUCT_NVIDIA_CK804_LAN2: