diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2011-08-27 07:18:37 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-10-05 02:52:54 -0700 |
commit | 7edebf9a6aac07e2ebb3901b60672293a7139ad0 (patch) | |
tree | fd1ac9a28b8d3b1e9163b8d242ea7f50ee095e68 /mm | |
parent | 8ce9d6c725b01989d2b18ee1df853837388ceaf6 (diff) |
ixgbe: prevent link checks while resetting
It some situations the driver sets __IXGBE_RESETTING and then
__IXGBE_DOWN flags. It is possible a link check may sneak in
between.
This patch adds check for both flags.
The idea is to reduce register reads while the PHY is resetting.
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions