19b8d05b8SZbigniew Bodek# 20835cc78SMarcin Wojtas# SPDX-License-Identifier: BSD-2-Clause 39b8d05b8SZbigniew Bodek# 4*8d6806cdSOsama Abboud# Copyright (c) 2015-2024 Amazon.com, Inc. or its affiliates. 59b8d05b8SZbigniew Bodek# All rights reserved. 69b8d05b8SZbigniew Bodek# 79b8d05b8SZbigniew Bodek# Redistribution and use in source and binary forms, with or without 89b8d05b8SZbigniew Bodek# modification, are permitted provided that the following conditions 99b8d05b8SZbigniew Bodek# are met: 109b8d05b8SZbigniew Bodek# 119b8d05b8SZbigniew Bodek# 1. Redistributions of source code must retain the above copyright 129b8d05b8SZbigniew Bodek# notice, this list of conditions and the following disclaimer. 139b8d05b8SZbigniew Bodek# 149b8d05b8SZbigniew Bodek# 2. Redistributions in binary form must reproduce the above copyright 159b8d05b8SZbigniew Bodek# notice, this list of conditions and the following disclaimer in the 169b8d05b8SZbigniew Bodek# documentation and/or other materials provided with the distribution. 179b8d05b8SZbigniew Bodek# 189b8d05b8SZbigniew Bodek# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 199b8d05b8SZbigniew Bodek# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 209b8d05b8SZbigniew Bodek# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 219b8d05b8SZbigniew Bodek# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 229b8d05b8SZbigniew Bodek# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 239b8d05b8SZbigniew Bodek# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 249b8d05b8SZbigniew Bodek# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 259b8d05b8SZbigniew Bodek# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 269b8d05b8SZbigniew Bodek# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 279b8d05b8SZbigniew Bodek# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 289b8d05b8SZbigniew Bodek# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 299b8d05b8SZbigniew Bodek# 309b8d05b8SZbigniew Bodek# 319b8d05b8SZbigniew Bodek 329b8d05b8SZbigniew Bodek.PATH: ${SRCTOP}/sys/dev/ena \ 339b8d05b8SZbigniew Bodek ${SRCTOP}/sys/contrib/ena-com 349b8d05b8SZbigniew Bodek 359b8d05b8SZbigniew BodekKMOD = if_ena 36d17b7d87SMarcin WojtasSRCS = ena_com.c ena_eth_com.c 37986e7b92SArtur RojekSRCS += ena.c ena_sysctl.c ena_datapath.c ena_netmap.c ena_rss.c 389b8d05b8SZbigniew BodekSRCS += device_if.h bus_if.h pci_if.h 398bf2c3c9SAndriy GaponSRCS += opt_rss.h 409b8d05b8SZbigniew BodekCFLAGS += -I${SRCTOP}/sys/contrib 419b8d05b8SZbigniew Bodek 429b8d05b8SZbigniew Bodek.include <bsd.kmod.mk> 43