Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 2026 14:14:55 +0000
From:      Sumit Saxena <ssaxena@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Cc:        Chandrakanth Patil <chandrakanth.patil@broadcom.com>
Subject:   git: c21c63fb565f - main - bnxt_en: add bnxt_sriov.c to sys/conf/files for built-in kernel builds
Message-ID:  <69f0c0df.3950e.5e046f7c@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by ssaxena:

URL: https://cgit.FreeBSD.org/src/commit/?id=c21c63fb565f1bc7f9564dbf12068c864f8891d8

commit c21c63fb565f1bc7f9564dbf12068c864f8891d8
Author:     Chandrakanth Patil <chandrakanth.patil@broadcom.com>
AuthorDate: 2026-04-28 14:10:13 +0000
Commit:     Sumit Saxena <ssaxena@FreeBSD.org>
CommitDate: 2026-04-28 14:13:40 +0000

    bnxt_en: add bnxt_sriov.c to sys/conf/files for built-in kernel builds
    
    The SR-IOV series added bnxt_sriov.c and listed it in sys/modules/bnxt/bnxt_en/Makefile,
    but kernels that build bnxt into the image only compile sources named in sys/conf/files.
    Add bnxt_sriov.c next to the other bnxt_en entries so built-in bnxt (including LINT)
    links the SR-IOV implementation and avoids undefined symbols referenced from if_bnxt.c.
    
    Fixes: f2f831b2c151 ("bnxt_en: Add core SR-IOV infrastructure")
    
    MFC after:      1 month
    Reviewed by:    ssaxena
    Differential Revision: https://reviews.freebsd.org/D56688
---
 sys/conf/files | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/conf/files b/sys/conf/files
index 1a484f5e50a8..2b4a453ca556 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1320,6 +1320,7 @@ dev/bnxt/bnxt_en/bnxt_auxbus_compat.c	optional bnxt iflib pci compile-with "${BN
 dev/bnxt/bnxt_en/bnxt_dcb.c		optional bnxt iflib pci compile-with "${BNXT_C}"
 dev/bnxt/bnxt_en/bnxt_hwrm.c		optional bnxt iflib pci compile-with "${BNXT_C}"
 dev/bnxt/bnxt_en/bnxt_mgmt.c		optional bnxt iflib pci compile-with "${BNXT_C}"
+dev/bnxt/bnxt_en/bnxt_sriov.c		optional bnxt iflib pci compile-with "${BNXT_C}"
 dev/bnxt/bnxt_en/bnxt_sysctl.c		optional bnxt iflib pci compile-with "${BNXT_C}"
 dev/bnxt/bnxt_en/bnxt_txrx.c		optional bnxt iflib pci compile-with "${BNXT_C}"
 dev/bnxt/bnxt_en/bnxt_ulp.c		optional bnxt iflib pci compile-with "${BNXT_C}"


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f0c0df.3950e.5e046f7c>