summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2009-07-03 06:54:40 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2009-07-03 06:54:40 +0000
commitf7e420426b56cc831cc9077db2247063a4db4c07 (patch)
treebc86466763a8173f3ba916f992e2d528e4ee7be1 /sys/dev/pci
parent9743f68e14f4f87638a05ef6d3ec08d03c30beae (diff)
fix mac address for dual-port 8257[56] cards; ok claudio, kettenis, deraadt
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_em_hw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_em_hw.c b/sys/dev/pci/if_em_hw.c
index e5eeea90431..5f971893fda 100644
--- a/sys/dev/pci/if_em_hw.c
+++ b/sys/dev/pci/if_em_hw.c
@@ -31,7 +31,7 @@
*******************************************************************************/
-/* $OpenBSD: if_em_hw.c,v 1.35 2009/06/26 14:30:35 claudio Exp $ */
+/* $OpenBSD: if_em_hw.c,v 1.36 2009/07/03 06:54:39 markus Exp $ */
/* if_em_hw.c
* Shared functions for accessing and configuring the MAC
@@ -5613,6 +5613,7 @@ em_read_mac_addr(struct em_hw * hw)
case em_82546:
case em_82546_rev_3:
case em_82571:
+ case em_82575:
case em_80003es2lan:
if (E1000_READ_REG(hw, STATUS) & E1000_STATUS_FUNC_1)
hw->perm_mac_addr[5] ^= 0x01;