diff options
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r-- | drivers/infiniband/hw/nes/nes_hw.c | 3 | ||||
-rw-r--r-- | drivers/infiniband/hw/nes/nes_hw.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/nes/nes_hw.c b/drivers/infiniband/hw/nes/nes_hw.c index ba93a8be6bf6..1980a461c499 100644 --- a/drivers/infiniband/hw/nes/nes_hw.c +++ b/drivers/infiniband/hw/nes/nes_hw.c | |||
@@ -3469,7 +3469,8 @@ static void nes_process_iwarp_aeqe(struct nes_device *nesdev, | |||
3469 | 3469 | ||
3470 | if (atomic_inc_return(&nesqp->close_timer_started) == 1) { | 3470 | if (atomic_inc_return(&nesqp->close_timer_started) == 1) { |
3471 | if ((tcp_state == NES_AEQE_TCP_STATE_CLOSE_WAIT) && | 3471 | if ((tcp_state == NES_AEQE_TCP_STATE_CLOSE_WAIT) && |
3472 | (nesqp->ibqp_state == IB_QPS_RTS)) { | 3472 | (nesqp->ibqp_state == IB_QPS_RTS) && |
3473 | ((nesadapter->eeprom_version >> 16) != NES_A0)) { | ||
3473 | spin_lock_irqsave(&nesqp->lock, flags); | 3474 | spin_lock_irqsave(&nesqp->lock, flags); |
3474 | nesqp->hw_iwarp_state = iwarp_state; | 3475 | nesqp->hw_iwarp_state = iwarp_state; |
3475 | nesqp->hw_tcp_state = tcp_state; | 3476 | nesqp->hw_tcp_state = tcp_state; |
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 @@ | |||
45 | #define NES_PHY_TYPE_KR 9 | 45 | #define NES_PHY_TYPE_KR 9 |
46 | 46 | ||
47 | #define NES_MULTICAST_PF_MAX 8 | 47 | #define NES_MULTICAST_PF_MAX 8 |
48 | #define NES_A0 3 | ||
48 | 49 | ||
49 | enum pci_regs { | 50 | enum pci_regs { |
50 | NES_INT_STAT = 0x0000, | 51 | NES_INT_STAT = 0x0000, |