[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>
This commit is contained in:
parent
c18b78ede5
commit
3e788fb16d
@ -4005,7 +4005,7 @@ static int get_fw_boot_info(struct scsi_qla_host *ha, uint16_t ddb_index[])
|
|||||||
if (val & BIT_7)
|
if (val & BIT_7)
|
||||||
ddb_index[1] = (val & 0x7f);
|
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_alloc_coherent(&ha->pdev->dev, size,
|
||||||
&buf_dma, GFP_KERNEL);
|
&buf_dma, GFP_KERNEL);
|
||||||
if (!buf) {
|
if (!buf) {
|
||||||
|
Loading…
Reference in New Issue
Block a user