diff options
author | mav <mav@FreeBSD.org> | 2017-03-29 15:39:13 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2017-03-29 15:39:13 +0000 |
commit | 1267d6589093679b8bce3e0cdb274b697b80e938 (patch) | |
tree | c271ce86da82f7e36081b8a61bc6007906af08f3 /sys/dev/isp | |
parent | 33f724af2a41d2718665f79e6133da912144d740 (diff) | |
download | FreeBSD-src-1267d6589093679b8bce3e0cdb274b697b80e938.zip FreeBSD-src-1267d6589093679b8bce3e0cdb274b697b80e938.tar.gz |
MFC r315298: Fix ancient bug from r84597, which broke 23xx after r315234.
Diffstat (limited to 'sys/dev/isp')
-rw-r--r-- | sys/dev/isp/isp_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |