From 1267d6589093679b8bce3e0cdb274b697b80e938 Mon Sep 17 00:00:00 2001 From: mav Date: Wed, 29 Mar 2017 15:39:13 +0000 Subject: MFC r315298: Fix ancient bug from r84597, which broke 23xx after r315234. --- sys/dev/isp/isp_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/isp') diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c index bb1322a..f4641e6 100644 --- a/sys/dev/isp/isp_pci.c +++ b/sys/dev/isp/isp_pci.c @@ -1123,7 +1123,7 @@ isp_pci_rd_isr_2300(ispsoftc_t *isp, uint16_t *isrp, uint16_t *semap, uint16_t * { uint32_t hccr, r2hisr; - if (!(BXR2(isp, IspVirt2Off(isp, BIU_ISR) & BIU2100_ISR_RISC_INT))) { + if ((BXR2(isp, IspVirt2Off(isp, BIU_ISR)) & BIU2100_ISR_RISC_INT) == 0) { *isrp = 0; return (0); } -- cgit v1.1