Module Name: src
Committed By: jakllsch
Date: Mon May 1 12:29:40 UTC 2017
Modified Files:
src/sys/dev/pci: if_re_pci.c
Log Message:
Disable interrupt moderation, as it is it causes watchdog timeouts on
some chips/systems.
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/pci/if_re_pci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/if_re_pci.c
diff -u src/sys/dev/pci/if_re_pci.c:1.46 src/sys/dev/pci/if_re_pci.c:1.47
--- src/sys/dev/pci/if_re_pci.c:1.46 Wed Apr 19 00:20:02 2017
+++ src/sys/dev/pci/if_re_pci.c Mon May 1 12:29:40 2017
@@ -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 @@ re_pci_attach(device_t parent, device_t
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;