mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 23:36:45 +07:00
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
@ -3098,10 +3098,11 @@ qla2x00_request_irqs(struct qla_hw_data *ha, struct rsp_que *rsp)
|
||||
}
|
||||
|
||||
clear_risc_ints:
|
||||
if (IS_FWI2_CAPABLE(ha) || IS_QLAFX00(ha))
|
||||
goto fail;
|
||||
|
||||
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);
|
||||
|
||||
fail:
|
||||
|
Loading…
Reference in New Issue
Block a user