[SCSI] qla4xxx: updated mbx_sys_info struct to sync with FW 4.6.x
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>
Fri, 30 Jul 2010 08:57:45 +0000 (14:27 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 6 Aug 2010 16:59:28 +0000 (11:59 -0500)
commit2ccdf0dce41a39db3721fe801dac5c5effa8e4be
tree47d765c0d9a207f13548a1ae6fc86cff6fec0a4e
parent0753b4871d5b09687cee652b380a6ca15aee330e
[SCSI] qla4xxx: updated mbx_sys_info struct to sync with FW 4.6.x

Also, changed boundary checking from size of total
structure to verification that we received the amount of
data needed to cache inernally. This change will provide
compatibility with mbx_sys_info structure sizes in both
older and newer firmware versions.

Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: Ravi Anand <ravi.anand@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla4xxx/ql4_fw.h
drivers/scsi/qla4xxx/ql4_nx.c