Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic fix inverted logic.
details: https://anonhg.NetBSD.org/src/rev/5cfa27098d99
branches: trunk
changeset: 353651:5cfa27098d99
user: snj <snj%NetBSD.org@localhost>
date: Tue May 16 06:16:35 2017 +0000
description:
fix inverted logic.
spotted by "sc dying" on current-users.
diffstat:
sys/dev/ic/rtl8169.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 6709ed93fe87 -r 5cfa27098d99 sys/dev/ic/rtl8169.c
--- a/sys/dev/ic/rtl8169.c Tue May 16 03:05:28 2017 +0000
+++ b/sys/dev/ic/rtl8169.c Tue May 16 06:16:35 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtl8169.c,v 1.150 2017/04/19 00:20:02 jmcneill Exp $ */
+/* $NetBSD: rtl8169.c,v 1.151 2017/05/16 06:16:35 snj Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtl8169.c,v 1.150 2017/04/19 00:20:02 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtl8169.c,v 1.151 2017/05/16 06:16:35 snj Exp $");
/* $FreeBSD: /repoman/r/ncvs/src/sys/dev/re/if_re.c,v 1.20 2004/04/11 20:34:08 ru Exp $ */
/*
@@ -1916,7 +1916,7 @@
*/
if (sc->re_testmode)
CSR_WRITE_2(sc, RTK_IMR, 0);
- else if ((sc->sc_quirk & RTKQ_IM_HW) == 0)
+ else if ((sc->sc_quirk & RTKQ_IM_HW) != 0)
CSR_WRITE_2(sc, RTK_IMR, RTK_INTRS_IM_HW);
else
CSR_WRITE_2(sc, RTK_IMR, RTK_INTRS_CPLUS);
Home |
Main Index |
Thread Index |
Old Index