diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2011-07-20 20:40:45 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-09-16 21:45:49 -0400 |
commit | 5fdd31f920a5ec8873929750d83ffa777bed6100 (patch) | |
tree | 1547e1231032db1cc2a38e410dd53311d6ef38c2 | |
parent | c7ccde0f8392516576afe291b06c5527b7ad90de (diff) |
ixgbe: Add missing code for enabling overheat sensor interrupt
This change adds a small bit of missing code for enabling the overheat sensor
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r-- | drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c index df1ea20f1be8..0533bc4033a6 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | |||
@@ -3543,6 +3543,10 @@ static void ixgbe_setup_gpie(struct ixgbe_adapter *adapter) | |||
3543 | gpie |= IXGBE_GPIE_VTMODE_64; | 3543 | gpie |= IXGBE_GPIE_VTMODE_64; |
3544 | } | 3544 | } |
3545 | 3545 | ||
3546 | /* Enable Thermal over heat sensor interrupt */ | ||
3547 | if (adapter->flags2 & IXGBE_FLAG2_TEMP_SENSOR_CAPABLE) | ||
3548 | gpie |= IXGBE_SDP0_GPIEN; | ||
3549 | |||
3546 | /* Enable fan failure interrupt */ | 3550 | /* Enable fan failure interrupt */ |
3547 | if (adapter->flags & IXGBE_FLAG_FAN_FAIL_CAPABLE) | 3551 | if (adapter->flags & IXGBE_FLAG_FAN_FAIL_CAPABLE) |
3548 | gpie |= IXGBE_SDP1_GPIEN; | 3552 | gpie |= IXGBE_SDP1_GPIEN; |