summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmatthew <jmatthew@openbsd.org>2019-06-06 03:17:49 +0000
committerjmatthew <jmatthew@openbsd.org>2019-06-06 03:17:49 +0000
commit00dc10fa6332dfd7584657908d8903a2328408ff (patch)
tree2d807b717905ab08416df7308ccbbdb2013bbd51
parentSet up the interrupt handler before creating the event queue. (diff)
downloadwireguard-openbsd-00dc10fa6332dfd7584657908d8903a2328408ff.tar.xz
wireguard-openbsd-00dc10fa6332dfd7584657908d8903a2328408ff.zip
ConnectX-5 cards work too
-rw-r--r--sys/dev/pci/if_mcx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_mcx.c b/sys/dev/pci/if_mcx.c
index 5dc37758a69..3ddbd2b72ee 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.18 2019/06/06 03:11:58 jmatthew Exp $ */
+/* $OpenBSD: if_mcx.c,v 1.19 2019/06/06 03:17:49 jmatthew Exp $ */
/*
* Copyright (c) 2017 David Gwynne <dlg@openbsd.org>
@@ -2087,6 +2087,8 @@ struct cfattach mcx_ca = {
static const struct pci_matchid mcx_devices[] = {
{ PCI_VENDOR_MELLANOX, PCI_PRODUCT_MELLANOX_MT27700 },
{ PCI_VENDOR_MELLANOX, PCI_PRODUCT_MELLANOX_MT27710 },
+ { PCI_VENDOR_MELLANOX, PCI_PRODUCT_MELLANOX_MT27800 },
+ { PCI_VENDOR_MELLANOX, PCI_PRODUCT_MELLANOX_MT28800 },
};
static const uint64_t mcx_eth_cap_map[] = {