diff options
author | 2020-11-06 02:50:02 +0000 | |
---|---|---|
committer | 2020-11-06 02:50:02 +0000 | |
commit | ac4b6442a11c5a8b106cfe0e285b0f2c45731f2d (patch) | |
tree | 7a4967cdabb0b46f279760b4dca69507530eabfe /sys/dev/pci/if_mcx.c | |
parent | Bail out early if the port type is not Ethernet, rather than failing later (diff) | |
download | wireguard-openbsd-ac4b6442a11c5a8b106cfe0e285b0f2c45731f2d.tar.xz wireguard-openbsd-ac4b6442a11c5a8b106cfe0e285b0f2c45731f2d.zip |
Match on ConnectX-6 (non-Dx) cards too.
tested by Nilson Lopes
Diffstat (limited to 'sys/dev/pci/if_mcx.c')
-rw-r--r-- | sys/dev/pci/if_mcx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_mcx.c b/sys/dev/pci/if_mcx.c index b6aea6093cf..b888734769d 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.74 2020/11/06 02:45:47 jmatthew Exp $ */ +/* $OpenBSD: if_mcx.c,v 1.75 2020/11/06 02:50:02 jmatthew Exp $ */ /* * Copyright (c) 2017 David Gwynne <dlg@openbsd.org> @@ -2543,6 +2543,7 @@ static const struct pci_matchid mcx_devices[] = { { 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_MT28908 }, { PCI_VENDOR_MELLANOX, PCI_PRODUCT_MELLANOX_MT2892 }, }; |