Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci fix softint_disestablish() in wm_detach().
details: https://anonhg.NetBSD.org/src/rev/19587b811fcf
branches: trunk
changeset: 1006679:19587b811fcf
user: knakahara <knakahara%NetBSD.org@localhost>
date: Thu Jan 23 07:49:57 2020 +0000
description:
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 5d76e1f5acc0 -r 19587b811fcf sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c Thu Jan 23 07:27:00 2020 +0000
+++ b/sys/dev/pci/if_wm.c Thu Jan 23 07:49:57 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wm.c,v 1.660 2020/01/21 08:50:54 msaitoh Exp $ */
+/* $NetBSD: if_wm.c,v 1.661 2020/01/23 07:49:57 knakahara 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.660 2020/01/21 08:50:54 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.661 2020/01/23 07:49:57 knakahara Exp $");
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
@@ -3096,6 +3096,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