svn commit: r316142 - stable/10/sys/dev/isp

Alexander Motin mav at FreeBSD.org
Wed Mar 29 15:39:49 UTC 2017


Author: mav
Date: Wed Mar 29 15:39:47 2017
New Revision: 316142
URL: https://svnweb.freebsd.org/changeset/base/316142

Log:
  MFC r315298: Fix ancient bug from r84597, which broke 23xx after r315234.

Modified:
  stable/10/sys/dev/isp/isp_pci.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/isp/isp_pci.c
==============================================================================
--- stable/10/sys/dev/isp/isp_pci.c	Wed Mar 29 15:39:13 2017	(r316141)
+++ stable/10/sys/dev/isp/isp_pci.c	Wed Mar 29 15:39:47 2017	(r316142)
@@ -1123,7 +1123,7 @@ isp_pci_rd_isr_2300(ispsoftc_t *isp, uin
 {
 	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);
 	}


More information about the svn-src-stable-10 mailing list