error print cleanup && turn off ints if RISC is paused

This commit is contained in:
Matt Jacob 2007-01-05 23:01:35 +00:00
parent 450ca4603d
commit 5ccae6a508
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165817

View file

@ -1378,8 +1378,9 @@ isp_pci_rd_isr_2300(ispsoftc_t *isp, uint32_t *isrp,
if (hccr & HCCR_PAUSE) {
ISP_WRITE(isp, HCCR, HCCR_RESET);
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_WRITE(isp, BIU_ICR, 0);
} else {
isp_prt(isp, ISP_LOGERR, "unknown interrupt 0x%x\n",
r2hisr);