diff options
author | Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> | 2017-06-09 11:12:35 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-09 13:12:23 -0400 |
commit | d86cc04e22ead660eeb362b28119c7cb1fbd9d06 (patch) | |
tree | 3b2759d8935bf4c9014d8438f831784b8fb373d7 /drivers/net/ethernet/chelsio/cxgb4/t4_regs.h | |
parent | Merge branch 'nfp-FW-app-build-name-reporting' (diff) | |
download | linux-dev-d86cc04e22ead660eeb362b28119c7cb1fbd9d06.tar.xz linux-dev-d86cc04e22ead660eeb362b28119c7cb1fbd9d06.zip |
cxgb4: handle interrupt raised when FW crashes
Handle TIMER0INT when FW crashes. Check for PCIE_FW[FW_EVAL]
and if it says "Device FW Crashed", then treat it as fatal.
Else, non-fatal.
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/t4_regs.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/t4_regs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_regs.h b/drivers/net/ethernet/chelsio/cxgb4/t4_regs.h index 3348d33c36fa..3884336ce23c 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/t4_regs.h +++ b/drivers/net/ethernet/chelsio/cxgb4/t4_regs.h @@ -1077,6 +1077,10 @@ #define TIEQINPARERRINT_V(x) ((x) << TIEQINPARERRINT_S) #define TIEQINPARERRINT_F TIEQINPARERRINT_V(1U) +#define TIMER0INT_S 2 +#define TIMER0INT_V(x) ((x) << TIMER0INT_S) +#define TIMER0INT_F TIMER0INT_V(1U) + #define PREFDROPINT_S 1 #define PREFDROPINT_V(x) ((x) << PREFDROPINT_S) #define PREFDROPINT_F PREFDROPINT_V(1U) |