kernel/ena: Hook the ena(4) driver into the build.
authorSascha Wildner <saw@online.de>
Sun, 22 Jul 2018 13:32:49 +0000 (15:32 +0200)
committerSascha Wildner <saw@online.de>
Sun, 22 Jul 2018 13:32:49 +0000 (15:32 +0200)
share/man/man4/Makefile
sys/conf/files
sys/config/LINT64
sys/dev/virtual/Makefile
sys/dev/virtual/amazon/Makefile [new file with mode: 0644]
sys/platform/pc64/Makefile.inc

index e8b354c..962d699 100644 (file)
@@ -91,6 +91,7 @@ MAN=  aac.4 \
        ecc.4 \
        ehci.4 \
        em.4 \
+       ena.4 \
        et.4 \
        exca.4 \
        fd.4 \
@@ -437,6 +438,7 @@ MLINKS+=dm.4 dm_target_linear.4
 MLINKS+=em.4 emx.4 \
        em.4 if_em.4 \
        em.4 if_emx.4
+MLINKS+=ena.4 if_ena.4
 MLINKS+=et.4 if_et.4
 MLINKS+=fd.4 stderr.4 \
        fd.4 stdin.4 \
index f0ea88d..4a9caf7 100644 (file)
@@ -2910,6 +2910,14 @@ bus/u4b/template/usb_template_serialnet.c optional usb_template
 bus/u4b/audio/uaudio.c                 optional snd_uaudio
 bus/u4b/audio/uaudio_pcm.c             optional snd_uaudio
 
+#
+# Amazon EC2 support
+#
+dev/virtual/amazon/ena/ena.c           optional ena
+dev/virtual/amazon/ena/ena_sysctl.c    optional ena
+dev/virtual/amazon/ena/ena-com/ena_com.c optional ena
+dev/virtual/amazon/ena/ena-com/ena_eth_com.c optional ena
+
 #
 # Hyper-V support
 #
index 4ccba1f..dcfe465 100644 (file)
@@ -2111,6 +2111,11 @@ device           gpio            # Enable support for the gpio framework
 device         ichwd           # Intel ICH watchdog interrupt timer
 device         tbridge         # regression testing
 
+#
+# Amazon EC2 support
+#
+device         ena
+
 #
 # Hyper-V support
 #
index c31d6ac..db9a2ee 100644 (file)
@@ -1,6 +1,6 @@
 .include "${.CURDIR}/../../platform/${MACHINE_PLATFORM}/Makefile.inc"
 
-SUBDIR=        hyperv virtio vkernel vmware
+SUBDIR=        amazon hyperv virtio vkernel vmware
 
 .for dir in ${SUBDIR}
 .if empty(DEV_SUPPORT:Mvirtual) && \
diff --git a/sys/dev/virtual/amazon/Makefile b/sys/dev/virtual/amazon/Makefile
new file mode 100644 (file)
index 0000000..bd475b3
--- /dev/null
@@ -0,0 +1,3 @@
+SUBDIR=        ena
+
+.include <bsd.subdir.mk>
index 68d8c04..54d98a3 100644 (file)
@@ -3,4 +3,4 @@
 
 DEV_SUPPORT=   acpica agp bridge crypto disk drm misc netif \
                pccard powermng raid serial sound smbus video \
-               virtual/hyperv virtual/virtio virtual/vmware
+               virtual/amazon virtual/hyperv virtual/virtio virtual/vmware