summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2014-03-24 01:00:58 +0000
committerdlg <dlg@openbsd.org>2014-03-24 01:00:58 +0000
commitc24f6c1f1688378b9aa88b16920d91eff15a7287 (patch)
tree3f414f98e7591897757accdc4caf988c8f9a39a3
parentSplit the API: struct ucred remains the kernel internal structure while (diff)
downloadwireguard-openbsd-c24f6c1f1688378b9aa88b16920d91eff15a7287.tar.xz
wireguard-openbsd-c24f6c1f1688378b9aa88b16920d91eff15a7287.zip
nothing after the irq ack posting relies on it being ordered.
-rw-r--r--sys/dev/pci/if_myx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/if_myx.c b/sys/dev/pci/if_myx.c
index d560ded720b..925c939fffb 100644
--- a/sys/dev/pci/if_myx.c
+++ b/sys/dev/pci/if_myx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_myx.c,v 1.56 2014/02/10 05:21:41 dlg Exp $ */
+/* $OpenBSD: if_myx.c,v 1.57 2014/03/24 01:00:58 dlg Exp $ */
/*
* Copyright (c) 2007 Reyk Floeter <reyk@openbsd.org>
@@ -1683,8 +1683,6 @@ myx_intr(void *arg)
}
bus_space_write_raw_region_4(sc->sc_memt, sc->sc_memh,
sc->sc_irqclaimoff + sizeof(data), &data, sizeof(data));
- bus_space_barrier(sc->sc_memt, sc->sc_memh,
- sc->sc_irqclaimoff, sizeof(data) * 2, BUS_SPACE_BARRIER_WRITE);
if (state == MYX_S_DOWN) {
/* myx_down is waiting for us */