svn commit: r315298 - head/sys/dev/isp

Alexander Motin mav at FreeBSD.org
Wed Mar 15 10:33:45 UTC 2017


Author: mav
Date: Wed Mar 15 10:33:44 2017
New Revision: 315298
URL: https://svnweb.freebsd.org/changeset/base/315298

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

Modified:
  head/sys/dev/isp/isp_pci.c

Modified: head/sys/dev/isp/isp_pci.c
==============================================================================
--- head/sys/dev/isp/isp_pci.c	Wed Mar 15 10:31:32 2017	(r315297)
+++ head/sys/dev/isp/isp_pci.c	Wed Mar 15 10:33:44 2017	(r315298)
@@ -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-all mailing list