projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7ccde0
)
ixgbe: Add missing code for enabling overheat sensor interrupt
author
Alexander Duyck
<
[email protected]
>
Thu, 21 Jul 2011 00:40:45 +0000
(
00:40
+0000)
committer
Jeff Kirsher
<
[email protected]
>
Sat, 17 Sep 2011 01:45:49 +0000
(18:45 -0700)
This change adds a small bit of missing code for enabling the overheat sensor
Signed-off-by: Alexander Duyck <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
index df1ea20f1be8b3ffe68c170d3f22a45b11f16529..0533bc4033a66357717f1d34aca46b1f686351af 100644
(file)
--- 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)
gpie |= IXGBE_GPIE_VTMODE_64;
}
+ /* Enable Thermal over heat sensor interrupt */
+ if (adapter->flags2 & IXGBE_FLAG2_TEMP_SENSOR_CAPABLE)
+ gpie |= IXGBE_SDP0_GPIEN;
+
/* Enable fan failure interrupt */
if (adapter->flags & IXGBE_FLAG_FAN_FAIL_CAPABLE)
gpie |= IXGBE_SDP1_GPIEN;