Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2024 05:13:28 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 169d06911699 - main - smbios: Compile into the kernel more completely
Message-ID:  <202407250513.46P5DSJT082620@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

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

commit 169d069116996b5c7bc84b65d21adf1272f3b304
Author:     Allan Jude <allanjude@FreeBSD.org>
AuthorDate: 2024-07-25 05:02:47 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-07-25 05:09:57 +0000

    smbios: Compile into the kernel more completely
    
    Compile more of the IPMI into the kernel, and include all the
    dependencies in ipmi.ko.
    
    Sponsored by:           Netflix
    Reviewed by:            andrew
    Differential Revision:  https://reviews.freebsd.org/D45765
---
 sys/conf/files.arm64      |  4 ++++
 sys/modules/ipmi/Makefile | 11 ++++++++---
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/sys/conf/files.arm64 b/sys/conf/files.arm64
index a6bd1a1ba60a..0ff18cc6dd99 100644
--- a/sys/conf/files.arm64
+++ b/sys/conf/files.arm64
@@ -383,7 +383,11 @@ dev/ipmi/ipmi.c					optional ipmi
 dev/ipmi/ipmi_acpi.c				optional ipmi acpi
 dev/ipmi/ipmi_bt.c				optional ipmi
 dev/ipmi/ipmi_kcs.c				optional ipmi
+dev/ipmi/ipmi_pci.c				optional ipmi pci
+dev/ipmi/ipmi_smbios.c				optional ipmi
+dev/ipmi/ipmi_smbus.c				optional ipmi smbus
 dev/ipmi/ipmi_smic.c				optional ipmi
+dev/ipmi/ipmi_ssif.c				optional ipmi smbus
 
 dev/mailbox/arm/arm_doorbell.c			optional fdt arm_doorbell
 dev/mbox/mbox_if.m				optional soc_brcm_bcm2837
diff --git a/sys/modules/ipmi/Makefile b/sys/modules/ipmi/Makefile
index 9419100cc01c..e143b264d083 100644
--- a/sys/modules/ipmi/Makefile
+++ b/sys/modules/ipmi/Makefile
@@ -12,12 +12,17 @@ SRCS+=	ipmi_kcs.c ipmi_smic.c ipmi_bt.c
 SRCS+=	ipmi_acpi.c
 SRCS+=	opt_acpi.h
 SRCS+=	acpi_if.h
+SRCS+=	ipmi_smbios.c
+SRCS+=	ipmi_ssif.c
+SRCS+=	ipmi_pci.c
+SRCS+=	ipmi_smbus.c
+SRCS+=	pci_if.h
+SRCS+=	smbus_if.h
 .endif
 
 .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
-SRCS+=	ipmi_smbios.c ipmi_ssif.c
-SRCS+=	ipmi_isa.c ipmi_pci.c ipmi_smbus.c
-SRCS+=	isa_if.h pci_if.h smbus_if.h
+SRCS+=	ipmi_isa.c
+SRCS+=	isa_if.h
 
 SUBDIR+= ipmi_linux
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407250513.46P5DSJT082620>