154dfc97bSShailend Chand# SPDX-License-Identifier: BSD-3-Clause 254dfc97bSShailend Chand# 3*d438b4efSShailend Chand# Copyright (c) 2023-2024 Google LLC 454dfc97bSShailend Chand# 554dfc97bSShailend Chand# Redistribution and use in source and binary forms, with or without modification, 654dfc97bSShailend Chand# are permitted provided that the following conditions are met: 754dfc97bSShailend Chand# 854dfc97bSShailend Chand# 1. Redistributions of source code must retain the above copyright notice, this 954dfc97bSShailend Chand# list of conditions and the following disclaimer. 1054dfc97bSShailend Chand# 1154dfc97bSShailend Chand# 2. Redistributions in binary form must reproduce the above copyright notice, 1254dfc97bSShailend Chand# this list of conditions and the following disclaimer in the documentation 1354dfc97bSShailend Chand# and/or other materials provided with the distribution. 1454dfc97bSShailend Chand# 1554dfc97bSShailend Chand# 3. Neither the name of the copyright holder nor the names of its contributors 1654dfc97bSShailend Chand# may be used to endorse or promote products derived from this software without 1754dfc97bSShailend Chand# specific prior written permission. 1854dfc97bSShailend Chand# 1954dfc97bSShailend Chand# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 2054dfc97bSShailend Chand# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 2154dfc97bSShailend Chand# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 2254dfc97bSShailend Chand# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR 2354dfc97bSShailend Chand# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 2454dfc97bSShailend Chand# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 2554dfc97bSShailend Chand# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 2654dfc97bSShailend Chand# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2754dfc97bSShailend Chand# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 2854dfc97bSShailend Chand# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2954dfc97bSShailend Chand 3054dfc97bSShailend Chand.PATH: ${SRCTOP}/sys/dev/gve 3154dfc97bSShailend Chand 3254dfc97bSShailend ChandKMOD= if_gve 33*d438b4efSShailend ChandSRCS= gve_main.c \ 34*d438b4efSShailend Chand gve_adminq.c \ 35*d438b4efSShailend Chand gve_utils.c \ 36*d438b4efSShailend Chand gve_qpl.c \ 37*d438b4efSShailend Chand gve_rx.c \ 38*d438b4efSShailend Chand gve_rx_dqo.c \ 39*d438b4efSShailend Chand gve_tx.c \ 40*d438b4efSShailend Chand gve_tx_dqo.c \ 41*d438b4efSShailend Chand gve_sysctl.c 4254dfc97bSShailend ChandSRCS+= device_if.h bus_if.h pci_if.h 4354dfc97bSShailend Chand 4454dfc97bSShailend Chand.include <bsd.kmod.mk> 45