Source-Changes-HG archive

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

[src/trunk]: src/sys add config glue for ena(4)



details:   https://anonhg.NetBSD.org/src/rev/3ab769bf9670
branches:  trunk
changeset: 361933:3ab769bf9670
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat May 19 09:27:09 2018 +0000

description:
add config glue for ena(4)

diffstat:

 sys/arch/amd64/conf/ALL |  5 +++--
 sys/dev/pci/files.pci   |  9 ++++++++-
 2 files changed, 11 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r 0d6acf5adbd3 -r 3ab769bf9670 sys/arch/amd64/conf/ALL
--- a/sys/arch/amd64/conf/ALL   Sat May 19 09:18:31 2018 +0000
+++ b/sys/arch/amd64/conf/ALL   Sat May 19 09:27:09 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.87 2018/05/15 01:53:27 thorpej Exp $
+# $NetBSD: ALL,v 1.88 2018/05/19 09:27:09 jdolecek Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "ALL-$Revision: 1.87 $"
+#ident         "ALL-$Revision: 1.88 $"
 
 maxusers       64              # estimated number of users
 
@@ -951,6 +951,7 @@
 cas*   at pci? dev ? function ?        # Sun Cassini/Cassini+ Ethernet
 dge*   at pci? dev ? function ?        # Intel 82597 10GbE LR
 en*    at pci? dev ? function ?        # ENI/Adaptec ATM
+#ena*  at pci? dev ? function ?        # experimental - Amazon Elastic Network Adapter
 ep*    at pci? dev ? function ?        # 3Com 3c59x
 epic*  at pci? dev ? function ?        # SMC EPIC/100 Ethernet
 esh*   at pci? dev ? function ?        # Essential HIPPI card
diff -r 0d6acf5adbd3 -r 3ab769bf9670 sys/dev/pci/files.pci
--- a/sys/dev/pci/files.pci     Sat May 19 09:18:31 2018 +0000
+++ b/sys/dev/pci/files.pci     Sat May 19 09:27:09 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.pci,v 1.395 2018/05/11 07:42:22 maya Exp $
+#      $NetBSD: files.pci,v 1.396 2018/05/19 09:27:09 jdolecek Exp $
 #
 # Config file and device description for machine-independent PCI code.
 # Included by ports that need it.  Requires that the SCSI files be
@@ -1193,3 +1193,10 @@
 device ismt: i2cbus
 attach ismt at pci
 file   dev/pci/ismt.c          ismt
+
+# Amazon Elastic Network Adapter (ENA) family
+device ena: ether, ifnet, arp
+attach ena at pci
+file   dev/pci/if_ena.c                        ena
+file   external/bsd/ena-com/ena_com.c          ena
+file   external/bsd/ena-com/ena_eth_com.c      ena



Home | Main Index | Thread Index | Old Index