From 1b9436dfb1e0fae4721c2d411fdf169d1203b2c0 Mon Sep 17 00:00:00 2001 From: mjacob Date: Fri, 5 Jan 2007 23:01:35 +0000 Subject: error print cleanup && turn off ints if RISC is paused --- sys/dev/isp/isp_pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev/isp/isp_pci.c') diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c index d7c34bc..2b603e9 100644 --- a/sys/dev/isp/isp_pci.c +++ b/sys/dev/isp/isp_pci.c @@ -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); -- cgit v1.1