summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/vnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/dev/vnet.c')
-rw-r--r--sys/arch/sparc64/dev/vnet.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/vnet.c b/sys/arch/sparc64/dev/vnet.c
index 39a37c89800..d062b1113b9 100644
--- a/sys/arch/sparc64/dev/vnet.c
+++ b/sys/arch/sparc64/dev/vnet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vnet.c,v 1.51 2015/11/25 03:09:58 dlg Exp $ */
+/* $OpenBSD: vnet.c,v 1.52 2015/12/04 15:18:03 kettenis Exp $ */
/*
* Copyright (c) 2009, 2015 Mark Kettenis
*
@@ -1436,6 +1436,9 @@ vnet_stop(struct ifnet *ifp)
cbus_intr_setenabled(sc->sc_bustag, sc->sc_tx_ino, INTR_DISABLED);
cbus_intr_setenabled(sc->sc_bustag, sc->sc_rx_ino, INTR_DISABLED);
+ intr_barrier(sc->sc_tx_ih);
+ intr_barrier(sc->sc_rx_ih);
+
hv_ldc_tx_qconf(lc->lc_id, 0, 0);
hv_ldc_rx_qconf(lc->lc_id, 0, 0);
lc->lc_tx_seqid = 0;