Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2017 10:33:44 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r315298 - head/sys/dev/isp
Message-ID:  <201703151033.v2FAXi1p079760@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703151033.v2FAXi1p079760>