diff options
author | Don Skidmore <donald.c.skidmore@intel.com> | 2009-05-07 10:39:54 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-07 14:52:31 -0700 |
commit | bf069c9726b592432ed646e72b910ac3c098d025 (patch) | |
tree | feb8ab0e94f443ed532001a78aa18f4108e566e7 /drivers/net/igb | |
parent | dfa12f05f60eb23b1670f3a7756ed814f886a7fb (diff) |
ixgbe: fix failing to log fan failures
We weren't logging the 82598AT fan failure if it occurred before (ixgbe_open)
as we hadn't sent up to catch the interrupt that event caused.
This patch checks for this failure in:
ixgbe_probe - So we can log the failure asap. We check right after we
set up the adapter->flags, which is when we know that we have a fan.
ixgbe_up_complete - To catch failures that may have happened between probe
and when we set up the interrupt that would normally detect the fan failure.
To enable all of this we need to initialize the adapter flag with
IXGBE_FLAG_FAN_FAIL_CAPABLE when the NIC contained a fan.
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb')
0 files changed, 0 insertions, 0 deletions