summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_mcx.c
diff options
context:
space:
mode:
authorjmatthew <jmatthew@openbsd.org>2020-07-17 03:37:37 +0000
committerjmatthew <jmatthew@openbsd.org>2020-07-17 03:37:37 +0000
commit3ac368de8c35c9ade43f7858b2822e02ad45af48 (patch)
tree839947b8c07920d1d3cd95e724e699206b8f5a33 /sys/dev/pci/if_mcx.c
parentname the rx rings so systat mb shows them. (diff)
downloadwireguard-openbsd-3ac368de8c35c9ade43f7858b2822e02ad45af48.tar.xz
wireguard-openbsd-3ac368de8c35c9ade43f7858b2822e02ad45af48.zip
Virtual functions are effectively identical to full physical functions,
so we can attach to them too. ok dlg@
Diffstat (limited to 'sys/dev/pci/if_mcx.c')
-rw-r--r--sys/dev/pci/if_mcx.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/if_mcx.c b/sys/dev/pci/if_mcx.c
index 9e3a126d81e..513598a0a49 100644
--- a/sys/dev/pci/if_mcx.c
+++ b/sys/dev/pci/if_mcx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_mcx.c,v 1.69 2020/07/17 03:23:18 jmatthew Exp $ */
+/* $OpenBSD: if_mcx.c,v 1.70 2020/07/17 03:37:37 jmatthew Exp $ */
/*
* Copyright (c) 2017 David Gwynne <dlg@openbsd.org>
@@ -2478,9 +2478,13 @@ struct cfattach mcx_ca = {
static const struct pci_matchid mcx_devices[] = {
{ PCI_VENDOR_MELLANOX, PCI_PRODUCT_MELLANOX_MT27700 },
+ { PCI_VENDOR_MELLANOX, PCI_PRODUCT_MELLANOX_MT27700VF },
{ PCI_VENDOR_MELLANOX, PCI_PRODUCT_MELLANOX_MT27710 },
+ { PCI_VENDOR_MELLANOX, PCI_PRODUCT_MELLANOX_MT27710VF },
{ PCI_VENDOR_MELLANOX, PCI_PRODUCT_MELLANOX_MT27800 },
+ { PCI_VENDOR_MELLANOX, PCI_PRODUCT_MELLANOX_MT27800VF },
{ PCI_VENDOR_MELLANOX, PCI_PRODUCT_MELLANOX_MT28800 },
+ { PCI_VENDOR_MELLANOX, PCI_PRODUCT_MELLANOX_MT28800VF },
{ PCI_VENDOR_MELLANOX, PCI_PRODUCT_MELLANOX_MT2892 },
};