summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_vmx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/if_vmx.c')
-rw-r--r--sys/dev/pci/if_vmx.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/pci/if_vmx.c b/sys/dev/pci/if_vmx.c
index 2eaef809975..1b89208ae38 100644
--- a/sys/dev/pci/if_vmx.c
+++ b/sys/dev/pci/if_vmx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vmx.c,v 1.59 2020/06/17 07:08:39 dlg Exp $ */
+/* $OpenBSD: if_vmx.c,v 1.60 2020/06/24 06:19:06 dlg Exp $ */
/*
* Copyright (c) 2013 Tsubai Masanari
@@ -322,10 +322,9 @@ vmxnet3_attach(struct device *parent, struct device *self, void *aux)
}
snprintf(q->intrname, sizeof(q->intrname), "%s:%d",
self->dv_xname, i);
- /* this should be pci_intr_establish_cpu */
- q->ih = pci_intr_establish(pa->pa_pc, ih,
+ q->ih = pci_intr_establish_cpu(pa->pa_pc, ih,
IPL_NET | IPL_MPSAFE,
- /* intrmap_cpu(sc->sc_intrmap, i), */
+ intrmap_cpu(sc->sc_intrmap, i),
vmxnet3_intr_queue, q, q->intrname);
q->intr = vec;