diff options
author | andrew.vasquez@qlogic.com <andrew.vasquez@qlogic.com> | 2006-03-09 17:27:13 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-03-12 10:38:03 -0500 |
commit | 044cc6c8ec311c4ddeebfcc31c53dea282de70b7 (patch) | |
tree | 891078bdbf9c8673d2408215c80551dc4a015f6d /drivers/scsi/qla2xxx/qla_attr.c | |
parent | ea5b6382fde00e0dbcd0de2e4aa2fd15705e5fc3 (diff) |
[SCSI] qla2xxx: Add ISP54xx support.
Chip is similar in form to our ISP24xx offering.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_attr.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_attr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index 92b3e13e9061..2b9e329a240c 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c | |||
@@ -50,7 +50,7 @@ qla2x00_sysfs_write_fw_dump(struct kobject *kobj, char *buf, loff_t off, | |||
50 | ha->host_no); | 50 | ha->host_no); |
51 | 51 | ||
52 | vfree(ha->fw_dump_buffer); | 52 | vfree(ha->fw_dump_buffer); |
53 | if (!IS_QLA24XX(ha) && !IS_QLA25XX(ha)) | 53 | if (!IS_QLA24XX(ha) && !IS_QLA54XX(ha)) |
54 | free_pages((unsigned long)ha->fw_dump, | 54 | free_pages((unsigned long)ha->fw_dump, |
55 | ha->fw_dump_order); | 55 | ha->fw_dump_order); |
56 | 56 | ||
@@ -64,7 +64,7 @@ qla2x00_sysfs_write_fw_dump(struct kobject *kobj, char *buf, loff_t off, | |||
64 | if ((ha->fw_dump || ha->fw_dumped) && !ha->fw_dump_reading) { | 64 | if ((ha->fw_dump || ha->fw_dumped) && !ha->fw_dump_reading) { |
65 | ha->fw_dump_reading = 1; | 65 | ha->fw_dump_reading = 1; |
66 | 66 | ||
67 | if (IS_QLA24XX(ha) || IS_QLA25XX(ha)) | 67 | if (IS_QLA24XX(ha) || IS_QLA54XX(ha)) |
68 | dump_size = FW_DUMP_SIZE_24XX; | 68 | dump_size = FW_DUMP_SIZE_24XX; |
69 | else { | 69 | else { |
70 | dump_size = FW_DUMP_SIZE_1M; | 70 | dump_size = FW_DUMP_SIZE_1M; |
@@ -138,7 +138,7 @@ qla2x00_sysfs_write_nvram(struct kobject *kobj, char *buf, loff_t off, | |||
138 | return 0; | 138 | return 0; |
139 | 139 | ||
140 | /* Checksum NVRAM. */ | 140 | /* Checksum NVRAM. */ |
141 | if (IS_QLA24XX(ha) || IS_QLA25XX(ha)) { | 141 | if (IS_QLA24XX(ha) || IS_QLA54XX(ha)) { |
142 | uint32_t *iter; | 142 | uint32_t *iter; |
143 | uint32_t chksum; | 143 | uint32_t chksum; |
144 | 144 | ||
@@ -750,7 +750,7 @@ qla2x00_get_fc_host_stats(struct Scsi_Host *shost) | |||
750 | pfc_host_stat = &ha->fc_host_stat; | 750 | pfc_host_stat = &ha->fc_host_stat; |
751 | memset(pfc_host_stat, -1, sizeof(struct fc_host_statistics)); | 751 | memset(pfc_host_stat, -1, sizeof(struct fc_host_statistics)); |
752 | 752 | ||
753 | if (IS_QLA24XX(ha) || IS_QLA25XX(ha)) { | 753 | if (IS_QLA24XX(ha) || IS_QLA54XX(ha)) { |
754 | rval = qla24xx_get_isp_stats(ha, (uint32_t *)&stat_buf, | 754 | rval = qla24xx_get_isp_stats(ha, (uint32_t *)&stat_buf, |
755 | sizeof(stat_buf) / 4, mb_stat); | 755 | sizeof(stat_buf) / 4, mb_stat); |
756 | } else { | 756 | } else { |