diff options
| author | Matt Jacob <mjacob@FreeBSD.org> | 2001-10-06 19:19:24 +0000 |
|---|---|---|
| committer | Matt Jacob <mjacob@FreeBSD.org> | 2001-10-06 19:19:24 +0000 |
| commit | db4fa023f8fe907de2d3dfeb99a144da5d90be84 (patch) | |
| tree | 8d40db6fd9bb62f5673edd2674b938a65d022525 /sys/dev/isp/isp_pci.c | |
| parent | 9b4e871a4fa5e6c6f51ac84fe170a8ca638bd571 (diff) | |
Notes
Diffstat (limited to 'sys/dev/isp/isp_pci.c')
| -rw-r--r-- | sys/dev/isp/isp_pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c index 2914504ddb65..73cdb5497dd3 100644 --- a/sys/dev/isp/isp_pci.c +++ b/sys/dev/isp/isp_pci.c @@ -835,6 +835,8 @@ isp_pci_rd_isr_2300(struct ispsoftc *isp, u_int16_t *isrp, struct isp_pcisoftc *pcs = (struct isp_pcisoftc *) isp; u_int32_t r2hisr; + if ((BXR2(pcs, IspVirt2Off(isp, BIU_ISR) & BIU2100_ISR_RISC_INT)) == 0) + return (0); r2hisr = bus_space_read_4(pcs->pci_st, pcs->pci_sh, IspVirt2Off(pcs, BIU_R2HSTSLO)); isp_prt(isp, ISP_LOGDEBUG3, "RISC2HOST ISR 0x%x", r2hisr); |
