Module Name: src
Committed By: msaitoh
Date: Thu Oct 26 03:44:12 UTC 2023
Modified Files:
src/share/man/man4: mcx.4
src/sys/dev/pci: if_mcx.c
Log Message:
mcx(4): Add Mellanox ConnectX-6 Lx from OpenBSD.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/mcx.4
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/pci/if_mcx.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man4/mcx.4
diff -u src/share/man/man4/mcx.4:1.2 src/share/man/man4/mcx.4:1.3
--- src/share/man/man4/mcx.4:1.2 Mon Sep 23 18:26:52 2019
+++ src/share/man/man4/mcx.4 Thu Oct 26 03:44:12 2023
@@ -1,4 +1,4 @@
-.\" $NetBSD: mcx.4,v 1.2 2019/09/23 18:26:52 jmcneill Exp $
+.\" $NetBSD: mcx.4,v 1.3 2023/10/26 03:44:12 msaitoh Exp $
.\"
.\" Copyright (c) 2019 David Gwynne <[email protected]>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd September 23, 2019
+.Dd October 26, 2023
.Dt MCX 4
.Os
.Sh NAME
@@ -37,6 +37,10 @@ ConnectX-4 EN
ConnectX-5 EN
.It
ConnectX-6 EN
+.It
+ConnectX-6 Dx EN
+.It
+ConnectX-6 Lx EN
.El
.Sh SEE ALSO
.Xr arp 4 ,
Index: src/sys/dev/pci/if_mcx.c
diff -u src/sys/dev/pci/if_mcx.c:1.25 src/sys/dev/pci/if_mcx.c:1.26
--- src/sys/dev/pci/if_mcx.c:1.25 Sun Aug 28 07:54:03 2022
+++ src/sys/dev/pci/if_mcx.c Thu Oct 26 03:44:12 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: if_mcx.c,v 1.25 2022/08/28 07:54:03 skrll Exp $ */
+/* $NetBSD: if_mcx.c,v 1.26 2023/10/26 03:44:12 msaitoh Exp $ */
/* $OpenBSD: if_mcx.c,v 1.101 2021/06/02 19:16:11 patrick Exp $ */
/*
@@ -23,7 +23,7 @@
#endif
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_mcx.c,v 1.25 2022/08/28 07:54:03 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_mcx.c,v 1.26 2023/10/26 03:44:12 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -2678,7 +2678,8 @@ static const struct {
{ 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 },
+ { PCI_VENDOR_MELLANOX, PCI_PRODUCT_MELLANOX_MT2892 },
+ { PCI_VENDOR_MELLANOX, PCI_PRODUCT_MELLANOX_MT2894 },
};
struct mcx_eth_proto_capability {