summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Matthew <jmatthew@cvs.openbsd.org>2020-07-17 03:37:38 +0000
committerJonathan Matthew <jmatthew@cvs.openbsd.org>2020-07-17 03:37:38 +0000
commit753d88f96cb0016d61dc537d67f3f0d4c656650a (patch)
tree43d18af59fd0b3e6d4d8e28dd1184c2a1ec0b9d1
parentabddcb29e1779911df51b8cb50da406fe731e05d (diff)
Virtual functions are effectively identical to full physical functions,
so we can attach to them too. ok dlg@
-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 },
};