From 7b594769120b43b8da1ff8f7b4c31a47fabd6ac0 Mon Sep 17 00:00:00 2001 From: Bhanu Prakash Gollapudi Date: Wed, 27 Jul 2011 11:32:07 -0700 Subject: [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 Signed-off-by: James Bottomley --- drivers/scsi/bnx2fc/bnx2fc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/scsi/bnx2fc/bnx2fc.h') 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; -- cgit