tree cac7bf4c6ee6eb3c8c3797f34c45498d22a8f00f
parent 84e29308ede3edb4f03911246c33d697ff18722e
author Andrew Vasquez <[EMAIL PROTECTED]> Sat, 09 Jul 2005 07:58:43 -0700
committer James Bottomley <[EMAIL PROTECTED](none)> Thu, 14 Jul 2005 19:15:10
-0400
[SCSI] qla2xxx: Add firmware version number to qla24xx_fw_version_str().
Add firmware version number to qla24xx_fw_version_str().
Original code was accidently trimmed during port.
Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]>
Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
drivers/scsi/qla2xxx/qla_os.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -317,6 +317,10 @@ qla2x00_fw_version_str(struct scsi_qla_h
char *
qla24xx_fw_version_str(struct scsi_qla_host *ha, char *str)
{
+ sprintf(str, "%d.%02d.%02d ", ha->fw_major_version,
+ ha->fw_minor_version,
+ ha->fw_subminor_version);
+
if (ha->fw_attributes & BIT_0)
strcat(str, "[Class 2] ");
if (ha->fw_attributes & BIT_1)
@@ -326,7 +330,6 @@ qla24xx_fw_version_str(struct scsi_qla_h
if (ha->fw_attributes & BIT_13)
strcat(str, "[Experimental]");
return str;
-
}
static inline srb_t *
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html