Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Disable interrupt moderation, as it is it causes...
details: https://anonhg.NetBSD.org/src/rev/f167139ef980
branches: trunk
changeset: 353360:f167139ef980
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Mon May 01 12:29:40 2017 +0000
description:
Disable interrupt moderation, as it is it causes watchdog timeouts on
some chips/systems.
diffstat:
sys/dev/pci/if_re_pci.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 45bbb14ef537 -r f167139ef980 sys/dev/pci/if_re_pci.c
--- a/sys/dev/pci/if_re_pci.c Mon May 01 10:25:47 2017 +0000
+++ b/sys/dev/pci/if_re_pci.c Mon May 01 12:29:40 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_re_pci.c,v 1.46 2017/04/19 00:20:02 jmcneill Exp $ */
+/* $NetBSD: if_re_pci.c,v 1.47 2017/05/01 12:29:40 jakllsch Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_re_pci.c,v 1.46 2017/04/19 00:20:02 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_re_pci.c,v 1.47 2017/05/01 12:29:40 jakllsch Exp $");
#include <sys/types.h>
@@ -240,8 +240,11 @@
t->rtk_basetype == RTK_8101E)
sc->sc_quirk |= RTKQ_PCIE;
+#if 0
+ /* This causes watchdog timeouts on some chips/systems. */
if (t->rtk_basetype == RTK_8168)
sc->sc_quirk |= RTKQ_IM_HW;
+#endif
if (pci_dma64_available(pa) && (sc->sc_quirk & RTKQ_PCIE))
sc->sc_dmat = pa->pa_dmat64;
Home |
Main Index |
Thread Index |
Old Index