|
@@ -1,7 +1,7 @@
|
|
|
/*******************************************************************************
|
|
|
|
|
|
Intel 10 Gigabit PCI Express Linux driver
|
|
|
- Copyright(c) 1999 - 2014 Intel Corporation.
|
|
|
+ Copyright(c) 1999 - 2015 Intel Corporation.
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it
|
|
|
under the terms and conditions of the GNU General Public License,
|
|
@@ -765,13 +765,14 @@ mac_reset_top:
|
|
|
ctrl = IXGBE_READ_REG(hw, IXGBE_CTRL) | IXGBE_CTRL_RST;
|
|
|
IXGBE_WRITE_REG(hw, IXGBE_CTRL, ctrl);
|
|
|
IXGBE_WRITE_FLUSH(hw);
|
|
|
+ usleep_range(1000, 1200);
|
|
|
|
|
|
/* Poll for reset bit to self-clear indicating reset is complete */
|
|
|
for (i = 0; i < 10; i++) {
|
|
|
- udelay(1);
|
|
|
ctrl = IXGBE_READ_REG(hw, IXGBE_CTRL);
|
|
|
if (!(ctrl & IXGBE_CTRL_RST))
|
|
|
break;
|
|
|
+ udelay(1);
|
|
|
}
|
|
|
if (ctrl & IXGBE_CTRL_RST) {
|
|
|
status = IXGBE_ERR_RESET_FAILED;
|