Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107032073
D28009.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D28009.diff
View Options
diff --git a/sys/conf/files.arm64 b/sys/conf/files.arm64
--- a/sys/conf/files.arm64
+++ b/sys/conf/files.arm64
@@ -361,6 +361,10 @@
dev/iicbus/twsi/twsi.c optional twsi fdt
dev/iommu/busdma_iommu.c optional iommu
dev/iommu/iommu_gas.c optional iommu
+dev/ipmi/ipmi.c optional ipmi
+dev/ipmi/ipmi_acpi.c optional ipmi acpi
+dev/ipmi/ipmi_kcs.c optional ipmi
+dev/ipmi/ipmi_smic.c optional ipmi
dev/mbox/mbox_if.m optional soc_brcm_bcm2837
dev/mmc/host/dwmmc.c optional dwmmc fdt
dev/mmc/host/dwmmc_altera.c optional dwmmc dwmmc_altera fdt
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -505,6 +505,7 @@
_ipoib= ipoib
_iser= iser
.endif
+_ipmi= ipmi
_mlx4= mlx4
_mlx5= mlx5
.if (${MK_INET_SUPPORT} != "no" && ${MK_INET6_SUPPORT} != "no") || \
@@ -682,7 +683,6 @@
_ida= ida
_iir= iir
_intelspi= intelspi
-_ipmi= ipmi
_ips= ips
_isci= isci
_ipw= ipw
diff --git a/sys/modules/ipmi/Makefile b/sys/modules/ipmi/Makefile
--- a/sys/modules/ipmi/Makefile
+++ b/sys/modules/ipmi/Makefile
@@ -7,11 +7,19 @@
KMOD= ipmi
SRCS= ipmi.c
SRCS+= bus_if.h device_if.h
-.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
-SRCS+= ipmi_kcs.c ipmi_smic.c ipmi_smbios.c ipmi_ssif.c
-SRCS+= ipmi_acpi.c ipmi_isa.c ipmi_pci.c ipmi_smbus.c
+
+.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" || \
+ ${MACHINE_CPUARCH} == "aarch64"
+SRCS+= ipmi_kcs.c ipmi_smic.c
+SRCS+= ipmi_acpi.c
SRCS+= opt_acpi.h
-SRCS+= acpi_if.h isa_if.h pci_if.h smbus_if.h
+SRCS+= acpi_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
SUBDIR+= ipmi_linux
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 6:17 AM (12 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15740117
Default Alt Text
D28009.diff (1 KB)
Attached To
Mode
D28009: WIP: arm64: enable the ipmi module
Attached
Detach File
Event Timeline
Log In to Comment