summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2019-08-06 10:54:40 +0000
committerdlg <dlg@openbsd.org>2019-08-06 10:54:40 +0000
commit303421dc9d630ba01d4b1da4e45dccc80c3dc0f0 (patch)
tree71bec1a12606558bbbd0be8a4bb3767bb8689382
parenthave a go at using msi interrupts. (diff)
downloadwireguard-openbsd-303421dc9d630ba01d4b1da4e45dccc80c3dc0f0.tar.xz
wireguard-openbsd-303421dc9d630ba01d4b1da4e45dccc80c3dc0f0.zip
remove some debug cruft i should have removed before the last commit.
-rw-r--r--sys/dev/pci/if_vmx.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/pci/if_vmx.c b/sys/dev/pci/if_vmx.c
index 1d980f29cf2..ddec48d5945 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.49 2019/08/06 10:15:27 dlg Exp $ */
+/* $OpenBSD: if_vmx.c,v 1.50 2019/08/06 10:54:40 dlg Exp $ */
/*
* Copyright (c) 2013 Tsubai Masanari
@@ -247,18 +247,14 @@ vmxnet3_attach(struct device *parent, struct device *self, void *aux)
switch (intrcfg & VMXNET3_INTRCFG_TYPE_MASK) {
case VMXNET3_INTRCFG_TYPE_AUTO:
- printf(", auto");
case VMXNET3_INTRCFG_TYPE_MSIX:
- printf(", msix");
/* FALLTHROUGH */
case VMXNET3_INTRCFG_TYPE_MSI:
- printf(", msi");
if (pci_intr_map_msi(pa, &ih) == 0)
break;
/* FALLTHROUGH */
case VMXNET3_INTRCFG_TYPE_INTX:
- printf(", intx");
isr = vmxnet3_intr_intx;
if (pci_intr_map(pa, &ih) == 0)
break;
@@ -270,7 +266,7 @@ vmxnet3_attach(struct device *parent, struct device *self, void *aux)
isr, sc, self->dv_xname);
intrstr = pci_intr_string(pa->pa_pc, ih);
if (intrstr)
- printf(": %x %s", intrcfg, intrstr);
+ printf(": %s", intrstr);
WRITE_CMD(sc, VMXNET3_CMD_GET_MACL);
macl = READ_BAR1(sc, VMXNET3_BAR1_CMD);