aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorSaurav Kashyap <saurav.kashyap@qlogic.com>2012-05-15 14:34:22 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-05-22 06:39:52 -0400
commit00adc9a034e0b8e2307316ae49754f7ba35f93df (patch)
tree69150bdc31d1d2899289b97d46c016f326456852 /drivers/scsi
parentc0822b63ccbf3b019059f384c290b080cae859f1 (diff)
[SCSI] qla2xxx: Corrections to log messages.
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qla2xxx/qla_nx.c10
-rw-r--r--drivers/scsi/qla2xxx/qla_nx.h1
2 files changed, 5 insertions, 6 deletions
diff --git a/drivers/scsi/qla2xxx/qla_nx.c b/drivers/scsi/qla2xxx/qla_nx.c
index 195528a708a7..f88eb833206a 100644
--- a/drivers/scsi/qla2xxx/qla_nx.c
+++ b/drivers/scsi/qla2xxx/qla_nx.c
@@ -1190,12 +1190,12 @@ qla82xx_pinit_from_rom(scsi_qla_host_t *vha)
1190 } 1190 }
1191 1191
1192 /* Offset in flash = lower 16 bits 1192 /* Offset in flash = lower 16 bits
1193 * Number of enteries = upper 16 bits 1193 * Number of entries = upper 16 bits
1194 */ 1194 */
1195 offset = n & 0xffffU; 1195 offset = n & 0xffffU;
1196 n = (n >> 16) & 0xffffU; 1196 n = (n >> 16) & 0xffffU;
1197 1197
1198 /* number of addr/value pair should not exceed 1024 enteries */ 1198 /* number of addr/value pair should not exceed 1024 entries */
1199 if (n >= 1024) { 1199 if (n >= 1024) {
1200 ql_log(ql_log_fatal, vha, 0x0071, 1200 ql_log(ql_log_fatal, vha, 0x0071,
1201 "Card flash not initialized:n=0x%x.\n", n); 1201 "Card flash not initialized:n=0x%x.\n", n);
@@ -2446,7 +2446,7 @@ qla82xx_load_fw(scsi_qla_host_t *vha)
2446 2446
2447 if (qla82xx_fw_load_from_flash(ha) == QLA_SUCCESS) { 2447 if (qla82xx_fw_load_from_flash(ha) == QLA_SUCCESS) {
2448 ql_log(ql_log_info, vha, 0x00a1, 2448 ql_log(ql_log_info, vha, 0x00a1,
2449 "Firmware loaded successully from flash.\n"); 2449 "Firmware loaded successfully from flash.\n");
2450 return QLA_SUCCESS; 2450 return QLA_SUCCESS;
2451 } else { 2451 } else {
2452 ql_log(ql_log_warn, vha, 0x0108, 2452 ql_log(ql_log_warn, vha, 0x0108,
@@ -2461,7 +2461,7 @@ try_blob_fw:
2461 blob = ha->hablob = qla2x00_request_firmware(vha); 2461 blob = ha->hablob = qla2x00_request_firmware(vha);
2462 if (!blob) { 2462 if (!blob) {
2463 ql_log(ql_log_fatal, vha, 0x00a3, 2463 ql_log(ql_log_fatal, vha, 0x00a3,
2464 "Firmware image not preset.\n"); 2464 "Firmware image not present.\n");
2465 goto fw_load_failed; 2465 goto fw_load_failed;
2466 } 2466 }
2467 2467
@@ -2689,7 +2689,7 @@ qla82xx_write_flash_data(struct scsi_qla_host *vha, uint32_t *dwptr,
2689 if (!optrom) { 2689 if (!optrom) {
2690 ql_log(ql_log_warn, vha, 0xb01b, 2690 ql_log(ql_log_warn, vha, 0xb01b,
2691 "Unable to allocate memory " 2691 "Unable to allocate memory "
2692 "for optron burst write (%x KB).\n", 2692 "for optrom burst write (%x KB).\n",
2693 OPTROM_BURST_SIZE / 1024); 2693 OPTROM_BURST_SIZE / 1024);
2694 } 2694 }
2695 } 2695 }
diff --git a/drivers/scsi/qla2xxx/qla_nx.h b/drivers/scsi/qla2xxx/qla_nx.h
index 393319861bd6..6eb210e3cc63 100644
--- a/drivers/scsi/qla2xxx/qla_nx.h
+++ b/drivers/scsi/qla2xxx/qla_nx.h
@@ -562,7 +562,6 @@
562#define QLA82XX_FW_VERSION_SUB (QLA82XX_CAM_RAM(0x158)) 562#define QLA82XX_FW_VERSION_SUB (QLA82XX_CAM_RAM(0x158))
563#define QLA82XX_PCIE_REG(reg) (QLA82XX_CRB_PCIE + (reg)) 563#define QLA82XX_PCIE_REG(reg) (QLA82XX_CRB_PCIE + (reg))
564 564
565#define PCIE_CHICKEN3 (0x120c8)
566#define PCIE_SETUP_FUNCTION (0x12040) 565#define PCIE_SETUP_FUNCTION (0x12040)
567#define PCIE_SETUP_FUNCTION2 (0x12048) 566#define PCIE_SETUP_FUNCTION2 (0x12048)
568 567