diff options
author | Bhanu Prakash Gollapudi <bprakash@broadcom.com> | 2011-07-27 22:32:07 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-07-28 11:47:12 +0400 |
commit | 7b594769120b43b8da1ff8f7b4c31a47fabd6ac0 (patch) | |
tree | 792d229f0e4a029cdba8c0eeddb2997ead7e9d45 /drivers/scsi/bnx2fc/bnx2fc.h | |
parent | 744469542951d32979a8dcb1dbed560bfed1745e (diff) | |
download | linux-7b594769120b43b8da1ff8f7b4c31a47fabd6ac0.tar.xz |
[SCSI] bnx2fc: Handle REC_TOV error code from firmware
Driver decides to initiate REC on REC_TOV timer pop. The firmware maintains the
REC timer and informs the driver as a firmware error message, which is an
unsolicited event to the driver. Driver also issues REC on other unsolicited
events from firmware that indicate data loss.
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bnx2fc/bnx2fc.h')
-rw-r--r-- | drivers/scsi/bnx2fc/bnx2fc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc.h b/drivers/scsi/bnx2fc/bnx2fc.h index cd506c0ee2f6..b1b0b3e89a84 100644 --- a/drivers/scsi/bnx2fc/bnx2fc.h +++ b/drivers/scsi/bnx2fc/bnx2fc.h @@ -143,6 +143,7 @@ #define SRR_RETRY_COUNT 5 #define REC_RETRY_COUNT 1 +#define BNX2FC_NUM_ERR_BITS 63 /* bnx2fc driver uses only one instance of fcoe_percpu_s */ extern struct fcoe_percpu_s bnx2fc_global; |