diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2009-06-03 12:55:20 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-06-08 15:46:46 -0400 |
commit | ca9e9c3eb118d0cb9dc2e5232f6f2dcaa4b7a5e0 (patch) | |
tree | b022eac4bf1820af0e82671e53f33143e65bc285 /drivers/scsi/qla2xxx/qla_gbl.h | |
parent | 59e0b8b088031b3b751f0608f797f2581f49a827 (diff) |
[SCSI] qla2xxx: Check status of qla2x00_get_fw_version() call.
Unlike earlier ISPs, recent ISPs (ISP81xx) can in fact fail this
mailbox command.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gbl.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gbl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index fbf99726e551..1ef18cce0c55 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h | |||
@@ -148,7 +148,7 @@ qla2x00_dump_ram(scsi_qla_host_t *, dma_addr_t, uint32_t, uint32_t); | |||
148 | extern int | 148 | extern int |
149 | qla2x00_execute_fw(scsi_qla_host_t *, uint32_t); | 149 | qla2x00_execute_fw(scsi_qla_host_t *, uint32_t); |
150 | 150 | ||
151 | extern void | 151 | extern int |
152 | qla2x00_get_fw_version(scsi_qla_host_t *, uint16_t *, uint16_t *, uint16_t *, | 152 | qla2x00_get_fw_version(scsi_qla_host_t *, uint16_t *, uint16_t *, uint16_t *, |
153 | uint16_t *, uint32_t *, uint8_t *, uint32_t *, uint8_t *); | 153 | uint16_t *, uint32_t *, uint8_t *, uint32_t *, uint8_t *); |
154 | 154 | ||