diff options
author | Faisal Latif <faisal.latif@intel.com> | 2010-09-01 15:43:11 +0000 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-09-08 14:38:23 -0700 |
commit | 29da03b9d1c6f24548d98cebda1e15a25d80ee1b (patch) | |
tree | 8cf88d9c5d98d403883174e654a9d22435a0cd51 /drivers/infiniband/hw/nes/nes_hw.h | |
parent | 67d70721151726286763209ecadc3fce86abfdce (diff) | |
download | linux-29da03b9d1c6f24548d98cebda1e15a25d80ee1b.tar.gz linux-29da03b9d1c6f24548d98cebda1e15a25d80ee1b.tar.bz2 linux-29da03b9d1c6f24548d98cebda1e15a25d80ee1b.zip |
RDMA/nes: Fix hang with modified FIN handling on A0 cards
Changing state to CLOSING when FIN is received causes A0 cards to
hang. Fix this by checking for A0 cards in FIN handling.
Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes_hw.h')
-rw-r--r-- | drivers/infiniband/hw/nes/nes_hw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/nes/nes_hw.h b/drivers/infiniband/hw/nes/nes_hw.h index aa9183db32b1..1204c3432b63 100644 --- a/drivers/infiniband/hw/nes/nes_hw.h +++ b/drivers/infiniband/hw/nes/nes_hw.h @@ -45,6 +45,7 @@ #define NES_PHY_TYPE_KR 9 #define NES_MULTICAST_PF_MAX 8 +#define NES_A0 3 enum pci_regs { NES_INT_STAT = 0x0000, |