Module Name: src
Committed By: mrg
Date: Sun Sep 22 08:21:35 UTC 2019
Modified Files:
src/sys/dev/pci: files.pci
Log Message:
add mcx attachment.
To generate a diff of this commit:
cvs rdiff -u -r1.413 -r1.414 src/sys/dev/pci/files.pci
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/files.pci
diff -u src/sys/dev/pci/files.pci:1.413 src/sys/dev/pci/files.pci:1.414
--- src/sys/dev/pci/files.pci:1.413 Wed May 8 13:40:18 2019
+++ src/sys/dev/pci/files.pci Sun Sep 22 08:21:35 2019
@@ -1,4 +1,4 @@
-# $NetBSD: files.pci,v 1.413 2019/05/08 13:40:18 isaki Exp $
+# $NetBSD: files.pci,v 1.414 2019/09/22 08:21:35 mrg Exp $
#
# Config file and device description for machine-independent PCI code.
# Included by ports that need it. Requires that the SCSI files be
@@ -701,6 +701,11 @@ defparam opt_if_wm.h WM_RX_PROCESS_LIMIT
WM_DISABLE_MSI
WM_DISABLE_MSIX
+# Mellanox ConnectX-4 Lx EN Network Adapter
+device mcx: ether, ifnet, arp, mii
+attach mcx at pci
+file dev/pci/if_mcx.c mcx
+
# Broadcom 570x Gigabit Ethernet
device bge: ether, ifnet, arp, mii, mii_bitbang
attach bge at pci