summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bnx2fc/bnx2fc.h
diff options
context:
space:
mode:
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>2011-07-26 14:51:40 -0700
committerJames Bottomley <JBottomley@Parallels.com>2011-07-27 15:38:12 +0400
commitb252f4c7c39cc43c1a34c68951f98d7391a1a103 (patch)
tree8c9106ae222a32b8b418b091a11f51a9fd851d7f /drivers/scsi/bnx2fc/bnx2fc.h
parentaea71a024914e8b5b8bed31256dae42195a0a207 (diff)
downloadtalos-obmc-linux-b252f4c7c39cc43c1a34c68951f98d7391a1a103.tar.gz
talos-obmc-linux-b252f4c7c39cc43c1a34c68951f98d7391a1a103.zip
[SCSI] bnx2fc: Enable REC & CONF support for the session
Based on PRLI response, identify if the target is FCP-2 (seq level error recovery) capable, and appropriately set the corresponding CONF, REC flags when offloading the session. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc.h b/drivers/scsi/bnx2fc/bnx2fc.h
index 6012317c1f2f..d38dcc7f1047 100644
--- a/drivers/scsi/bnx2fc/bnx2fc.h
+++ b/drivers/scsi/bnx2fc/bnx2fc.h
@@ -244,9 +244,11 @@ struct bnx2fc_rport {
struct fc_rport_priv *rdata;
void __iomem *ctx_base;
#define DPM_TRIGER_TYPE 0x40
+ u32 io_timeout;
u32 fcoe_conn_id;
u32 context_id;
u32 sid;
+ int dev_type;
unsigned long flags;
#define BNX2FC_FLAG_SESSION_READY 0x1
OpenPOWER on IntegriCloud