svn commit: r316141 - stable/11/sys/dev/isp
Alexander Motin
mav at FreeBSD.org
Wed Mar 29 15:39:14 UTC 2017
Author: mav
Date: Wed Mar 29 15:39:13 2017
New Revision: 316141
URL: https://svnweb.freebsd.org/changeset/base/316141
Log:
MFC r315298: Fix ancient bug from r84597, which broke 23xx after r315234.
Modified:
stable/11/sys/dev/isp/isp_pci.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/isp/isp_pci.c
==============================================================================
--- stable/11/sys/dev/isp/isp_pci.c Wed Mar 29 15:34:52 2017 (r316140)
+++ stable/11/sys/dev/isp/isp_pci.c Wed Mar 29 15:39:13 2017 (r316141)
@@ -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
mailing list