error print cleanup && turn off ints if RISC is paused
This commit is contained in:
parent
4b93d50434
commit
1b9436dfb1
@ -1378,8 +1378,9 @@ isp_pci_rd_isr_2300(ispsoftc_t *isp, uint32_t *isrp,
|
|||||||
if (hccr & HCCR_PAUSE) {
|
if (hccr & HCCR_PAUSE) {
|
||||||
ISP_WRITE(isp, HCCR, HCCR_RESET);
|
ISP_WRITE(isp, HCCR, HCCR_RESET);
|
||||||
isp_prt(isp, ISP_LOGERR,
|
isp_prt(isp, ISP_LOGERR,
|
||||||
"RISC paused at interrupt (%x->%x\n", hccr,
|
"RISC paused at interrupt (%x->%x)", hccr,
|
||||||
ISP_READ(isp, HCCR));
|
ISP_READ(isp, HCCR));
|
||||||
|
ISP_WRITE(isp, BIU_ICR, 0);
|
||||||
} else {
|
} else {
|
||||||
isp_prt(isp, ISP_LOGERR, "unknown interrupt 0x%x\n",
|
isp_prt(isp, ISP_LOGERR, "unknown interrupt 0x%x\n",
|
||||||
r2hisr);
|
r2hisr);
|
||||||
|
Loading…
Reference in New Issue
Block a user