summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla4xxx
diff options
context:
space:
mode:
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>2013-03-07 05:43:08 -0500
committerJames Bottomley <JBottomley@Parallels.com>2013-04-10 11:39:30 -0700
commit3e788fb16d7f9a909ed45f9f0f331d5cd0283f18 (patch)
treece3c42aa55f42c4e79fcd4929c79a555bf59bb3e /drivers/scsi/qla4xxx
parentc18b78ede52d2ac8c664449bccaf36753a3c419b (diff)
downloadblackbird-op-linux-3e788fb16d7f9a909ed45f9f0f331d5cd0283f18.tar.gz
blackbird-op-linux-3e788fb16d7f9a909ed45f9f0f331d5cd0283f18.zip
[SCSI] qla4xxx: Boot from SAN fix for ISP83XX
Issue: ISP83XX check is missing in function get_fw_boot_info() because of this qla4xxx will not export boot target to sysfs and iscsistart cannot issue login to boot target. Fix: Added check for ISP83XX in function get_fw_boot_info() Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx')
-rw-r--r--drivers/scsi/qla4xxx/ql4_os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c
index 6142729167f4..1c387e7b2227 100644
--- a/drivers/scsi/qla4xxx/ql4_os.c
+++ b/drivers/scsi/qla4xxx/ql4_os.c
@@ -4005,7 +4005,7 @@ static int get_fw_boot_info(struct scsi_qla_host *ha, uint16_t ddb_index[])
if (val & BIT_7)
ddb_index[1] = (val & 0x7f);
- } else if (is_qla8022(ha)) {
+ } else if (is_qla80XX(ha)) {
buf = dma_alloc_coherent(&ha->pdev->dev, size,
&buf_dma, GFP_KERNEL);
if (!buf) {
OpenPOWER on IntegriCloud