summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorStefan Fritsch <sf@cvs.openbsd.org>2018-04-07 11:53:54 +0000
committerStefan Fritsch <sf@cvs.openbsd.org>2018-04-07 11:53:54 +0000
commit455e0da3a4251e04068bb962395917f9569df179 (patch)
treef8436f8a310342ea773d579a058a9eafd04f0348 /sys
parentf76b42563478b1a49f90c2376b042633e9956fe3 (diff)
em: Increase delay after reset to 20ms
This is the value in freebsd for ich8lan. ok mikeb@ jsg@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_em_hw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_em_hw.c b/sys/dev/pci/if_em_hw.c
index df0fa571736..3cd8b792fe0 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.97 2018/03/16 06:30:50 jsg Exp $ */
+/* $OpenBSD: if_em_hw.c,v 1.98 2018/04/07 11:53:53 sf Exp $ */
/*
* if_em_hw.c Shared functions for accessing and configuring the MAC
*/
@@ -945,7 +945,7 @@ em_reset_hw(struct em_hw *hw)
}
em_get_software_flag(hw);
E1000_WRITE_REG(hw, CTRL, (ctrl | E1000_CTRL_RST));
- msec_delay(5);
+ msec_delay(20);
/* Ungate automatic PHY configuration on non-managed 82579 */
if (hw->mac_type == em_pch2lan && !hw->phy_reset_disable &&