summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel
diff options
context:
space:
mode:
authorRyan Zezeski <ryan@zinascii.com>2020-08-25 00:52:37 -0600
committerDan McDonald <danmcd@joyent.com>2021-11-23 13:18:50 -0500
commit6f443ebc1fb4fec01d6e8fa8ca4648182ed215bb (patch)
tree5c4551c6d6caaaf138fe369af872c3fc31d02c8a /usr/src/uts/intel
parenta28480febf31f0e61debac062a55216a98a05a92 (diff)
downloadillumos-gate-6f443ebc1fb4fec01d6e8fa8ca4648182ed215bb.tar.gz
13689 Want AWS ENA driver
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/uts/intel')
-rw-r--r--usr/src/uts/intel/Makefile.intel2
-rw-r--r--usr/src/uts/intel/ena/Makefile47
2 files changed, 49 insertions, 0 deletions
diff --git a/usr/src/uts/intel/Makefile.intel b/usr/src/uts/intel/Makefile.intel
index cd5eabf7c5..4d1d2664c3 100644
--- a/usr/src/uts/intel/Makefile.intel
+++ b/usr/src/uts/intel/Makefile.intel
@@ -27,6 +27,7 @@
# Copyright 2018 Nexenta Systems, Inc.
# Copyright 2019 RackTop Systems
# Copyright 2019 Peter Tribble.
+# Copyright 2021 Oxide Computer Company
#
#
@@ -385,6 +386,7 @@ DRV_KMODS += dmfe
DRV_KMODS += e1000g
DRV_KMODS += efe
DRV_KMODS += elxl
+DRV_KMODS += ena
DRV_KMODS += hme
DRV_KMODS += mxfe
DRV_KMODS += nge
diff --git a/usr/src/uts/intel/ena/Makefile b/usr/src/uts/intel/ena/Makefile
new file mode 100644
index 0000000000..bef9878cc0
--- /dev/null
+++ b/usr/src/uts/intel/ena/Makefile
@@ -0,0 +1,47 @@
+#
+# This file and its contents are supplied under the terms of the
+# Common Development and Distribution License ("CDDL"), version 1.0.
+# You may only use this file in accordance with the terms of version
+# 1.0 of the CDDL.
+#
+# A full copy of the text of the CDDL should have accompanied this
+# source. A copy of the CDDL is also available via the Internet at
+# http://www.illumos.org/license/CDDL.
+#
+
+#
+# Copyright 2021 Oxide Computer Company
+#
+
+UTSBASE = ../..
+
+MODULE = ena
+OBJECTS = $(ENA_OBJS:%=$(OBJS_DIR)/%)
+ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
+CONF_SRCDIR = $(UTSBASE)/common/io/ena
+
+include $(UTSBASE)/intel/Makefile.intel
+
+CPPFLAGS += -I$(UTSBASE)/common/io/ena
+
+ALL_TARGET = $(BINARY) $(CONFMOD)
+INSTALL_TARGET = $(BINBAR) $(ROOTMODULE) $(ROOT_CONFFILE)
+
+LDFLAGS += -dy -N misc/mac
+
+MAPFILES += ddi mac kernel
+
+.KEEP_STATE:
+
+def: $(DEF_DEPS)
+
+all: $(ALL_DEPS)
+
+clean: $(CLEAN_DEPS)
+
+clobber: $(CLOBBER_DEPS)
+
+install: $(INSTALL_DEPS)
+
+include $(UTSBASE)/Makefile.mapfile
+include $(UTSBASE)/intel/Makefile.targ