summaryrefslogtreecommitdiff
path: root/drivers/scsi/bfa/bfa_fcs.h
diff options
context:
space:
mode:
authorKrishna Gudipati <kgudipat@brocade.com>2012-09-22 04:25:20 +0400
committerJames Bottomley <JBottomley@Parallels.com>2012-10-07 14:15:13 +0400
commitb480a32e69b7b3c88c8459c229146f1d47763a02 (patch)
tree7cb8421700e8017083456831b58177e0aa5ee87e /drivers/scsi/bfa/bfa_fcs.h
parentea5d7c9ecb08d65af9ebf8db113e576430a6a14f (diff)
downloadlinux-b480a32e69b7b3c88c8459c229146f1d47763a02.tar.xz
[SCSI] bfa: Fix few attributes in the RHBA CT passthru command
- Made changes to set the RHBA command max payload based on the port configured frame size. - Made changes to fix the driver/fw version size in FMDI structure. - Fix to pass the fw version for FDMI attribute type FDMI_HBA_ATTRIB_FW_VERSION rather than driver version. Signed-off-by: Krishna Gudipati <kgudipat@brocade.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfa_fcs.h')
-rw-r--r--drivers/scsi/bfa/bfa_fcs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/bfa/bfa_fcs.h b/drivers/scsi/bfa/bfa_fcs.h
index f2a6a3c0e002..a449706c6bc0 100644
--- a/drivers/scsi/bfa/bfa_fcs.h
+++ b/drivers/scsi/bfa/bfa_fcs.h
@@ -642,9 +642,9 @@ struct bfa_fcs_fdmi_hba_attr_s {
u8 model[16];
u8 model_desc[256];
u8 hw_version[8];
- u8 driver_version[8];
+ u8 driver_version[BFA_VERSION_LEN];
u8 option_rom_ver[BFA_VERSION_LEN];
- u8 fw_version[8];
+ u8 fw_version[BFA_VERSION_LEN];
u8 os_name[256];
__be32 max_ct_pyld;
};