Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/dev/pci Pull up following revision(s) (requested by k...



details:   https://anonhg.NetBSD.org/src/rev/15d706376b26
branches:  netbsd-8
changeset: 852715:15d706376b26
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Jan 23 10:17:41 2020 +0000

description:
Pull up following revision(s) (requested by knakahara in ticket #1488):

        sys/dev/pci/if_wm.c: revision 1.661

fix softint_disestablish() in wm_detach().

ok by msaitoh@n.o
XXX pullup-8, pullup-9

diffstat:

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

diffs (28 lines):

diff -r 05718e2136dc -r 15d706376b26 sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c       Tue Jan 21 18:14:34 2020 +0000
+++ b/sys/dev/pci/if_wm.c       Thu Jan 23 10:17:41 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wm.c,v 1.508.4.36 2019/11/06 10:23:06 martin Exp $  */
+/*     $NetBSD: if_wm.c,v 1.508.4.37 2020/01/23 10:17:41 martin Exp $  */
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -82,7 +82,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.508.4.36 2019/11/06 10:23:06 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.508.4.37 2020/01/23 10:17:41 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -3017,6 +3017,9 @@
        }
        pci_intr_release(sc->sc_pc, sc->sc_intrs, sc->sc_nintrs);
 
+       for (i = 0; i < sc->sc_nqueues; i++)
+               softint_disestablish(sc->sc_queue[i].wmq_si);
+
        wm_free_txrx_queues(sc);
 
        /* Unmap the registers */



Home | Main Index | Thread Index | Old Index