From 4324c38a950f538784f5284ad07a81ed0b40e0a8 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Fri, 4 Dec 2015 15:18:04 +0000 Subject: Add intr_barrier() just in case... --- sys/arch/sparc64/dev/vnet.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys') 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; -- cgit v1.2.3