qla2xxx: ISPFX00 avoid writing semaphore register in request_irqs().
Semaphore register does not exist for ISPFx00. Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
efcdf9f5c8
commit
4bb2efc45f
1 changed files with 3 additions and 2 deletions
|
@ -3098,10 +3098,11 @@ skip_msi:
|
||||||
}
|
}
|
||||||
|
|
||||||
clear_risc_ints:
|
clear_risc_ints:
|
||||||
|
if (IS_FWI2_CAPABLE(ha) || IS_QLAFX00(ha))
|
||||||
|
goto fail;
|
||||||
|
|
||||||
spin_lock_irq(&ha->hardware_lock);
|
spin_lock_irq(&ha->hardware_lock);
|
||||||
if (!IS_FWI2_CAPABLE(ha))
|
WRT_REG_WORD(®->isp.semaphore, 0);
|
||||||
WRT_REG_WORD(®->isp.semaphore, 0);
|
|
||||||
spin_unlock_irq(&ha->hardware_lock);
|
spin_unlock_irq(&ha->hardware_lock);
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
|
|
Loading…
Add table
Reference in a new issue