Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Re-enable RTKQ_IM_HW. Timeout issues appear to ...



details:   https://anonhg.NetBSD.org/src/rev/f80cda2fb9a1
branches:  trunk
changeset: 824011:f80cda2fb9a1
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Thu May 18 18:33:48 2017 +0000

description:
Re-enable RTKQ_IM_HW.  Timeout issues appear to be fixed since
src/sys/dev/ic/rtl8169.c r1.151

diffstat:

 sys/dev/pci/if_re_pci.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r db358e6c6979 -r f80cda2fb9a1 sys/dev/pci/if_re_pci.c
--- a/sys/dev/pci/if_re_pci.c   Thu May 18 16:41:12 2017 +0000
+++ b/sys/dev/pci/if_re_pci.c   Thu May 18 18:33:48 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_re_pci.c,v 1.47 2017/05/01 12:29:40 jakllsch Exp $  */
+/*     $NetBSD: if_re_pci.c,v 1.48 2017/05/18 18:33:48 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.47 2017/05/01 12:29:40 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_re_pci.c,v 1.48 2017/05/18 18:33:48 jakllsch Exp $");
 
 #include <sys/types.h>
 
@@ -240,11 +240,8 @@
            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