Match on ConnectX-6 virtual functions too, since they don't seem to be
authorjmatthew <jmatthew@openbsd.org>
Thu, 11 Apr 2024 06:42:12 +0000 (06:42 +0000)
committerjmatthew <jmatthew@openbsd.org>
Thu, 11 Apr 2024 06:42:12 +0000 (06:42 +0000)
any different to earlier revisions.

from Brad

sys/dev/pci/if_mcx.c

index c4a83a6..69049e2 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: if_mcx.c,v 1.112 2024/04/11 05:30:55 jmatthew Exp $ */
+/*     $OpenBSD: if_mcx.c,v 1.113 2024/04/11 06:42:12 jmatthew Exp $ */
 
 /*
  * Copyright (c) 2017 David Gwynne <dlg@openbsd.org>
@@ -2673,6 +2673,7 @@ static const struct pci_matchid mcx_devices[] = {
        { PCI_VENDOR_MELLANOX,  PCI_PRODUCT_MELLANOX_MT28800 },
        { PCI_VENDOR_MELLANOX,  PCI_PRODUCT_MELLANOX_MT28800VF },
        { PCI_VENDOR_MELLANOX,  PCI_PRODUCT_MELLANOX_MT28908 },
+       { PCI_VENDOR_MELLANOX,  PCI_PRODUCT_MELLANOX_MT28908VF },
        { PCI_VENDOR_MELLANOX,  PCI_PRODUCT_MELLANOX_MT2892 },
        { PCI_VENDOR_MELLANOX,  PCI_PRODUCT_MELLANOX_MT2894 },
 };