Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci add mcx attachment.



details:   https://anonhg.NetBSD.org/src/rev/294bf6709cbc
branches:  trunk
changeset: 454574:294bf6709cbc
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Sep 22 08:21:35 2019 +0000

description:
add mcx attachment.

diffstat:

 sys/dev/pci/files.pci |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 121852a3ce8a -r 294bf6709cbc sys/dev/pci/files.pci
--- a/sys/dev/pci/files.pci     Sun Sep 22 07:42:28 2019 +0000
+++ b/sys/dev/pci/files.pci     Sun Sep 22 08:21:35 2019 +0000
@@ -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 @@
                        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



Home | Main Index | Thread Index | Old Index