From 753d88f96cb0016d61dc537d67f3f0d4c656650a Mon Sep 17 00:00:00 2001 From: Jonathan Matthew Date: Fri, 17 Jul 2020 03:37:38 +0000 Subject: Virtual functions are effectively identical to full physical functions, so we can attach to them too. ok dlg@ --- sys/dev/pci/if_mcx.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 @@ -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 }, }; -- cgit v1.2.3