git: 8342d9f7b5f1 - main - asmc(4): Stop building it on i386, as it supports only 64-bit chipsets
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Jan 2026 12:17:29 UTC
The branch main has been updated by olce:
URL: https://cgit.FreeBSD.org/src/commit/?id=8342d9f7b5f13d0623861cb8b88caf10a15571f6
commit 8342d9f7b5f13d0623861cb8b88caf10a15571f6
Author: Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2026-01-12 09:37:24 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-01-12 12:16:38 +0000
asmc(4): Stop building it on i386, as it supports only 64-bit chipsets
Reported by: ngie
Fixes: fde9fe18219f ("i386: Fix kernel compilation after introduction of ASMC_DEBUG option")
Sponsored by: The FreeBSD Foundation
---
sys/conf/files.amd64 | 1 +
sys/conf/files.x86 | 1 -
sys/conf/options.i386 | 3 ---
sys/modules/Makefile | 2 +-
4 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64
index 5de81ce58ef8..88f9b1d5f10f 100644
--- a/sys/conf/files.amd64
+++ b/sys/conf/files.amd64
@@ -112,6 +112,7 @@ crypto/openssl/amd64/sha512-x86_64.S optional ossl
crypto/openssl/amd64/ossl_aes_gcm_avx512.c optional ossl
crypto/openssl/ossl_aes_gcm.c optional ossl
dev/amdgpio/amdgpio.c optional amdgpio
+dev/asmc/asmc.c optional asmc isa
dev/axgbe/if_axgbe_pci.c optional axp
dev/axgbe/xgbe-desc.c optional axp
dev/axgbe/xgbe-dev.c optional axp
diff --git a/sys/conf/files.x86 b/sys/conf/files.x86
index 31b8e88a6951..b1bd6f7291ca 100644
--- a/sys/conf/files.x86
+++ b/sys/conf/files.x86
@@ -67,7 +67,6 @@ dev/amdsbwd/amdsbwd.c optional amdsbwd
dev/amdsmn/amdsmn.c optional amdsmn | amdtemp
dev/amdtemp/amdtemp.c optional amdtemp
dev/arcmsr/arcmsr.c optional arcmsr pci
-dev/asmc/asmc.c optional asmc isa
dev/atkbdc/atkbd.c optional atkbd atkbdc
dev/atkbdc/atkbd_atkbdc.c optional atkbd atkbdc
dev/atkbdc/atkbdc.c optional atkbdc
diff --git a/sys/conf/options.i386 b/sys/conf/options.i386
index 62bf3baf8649..c577568c837f 100644
--- a/sys/conf/options.i386
+++ b/sys/conf/options.i386
@@ -112,6 +112,3 @@ MPTABLE_LINUX_BUG_COMPAT
# x86 specific uart options
UART_NS8250_EARLY_PORT opt_uart.h
-
-# Enable asmc(4)-specific debug logic.
-ASMC_DEBUG opt_asmc.h
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index f7e104489fa8..cce5f14ce20d 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -786,7 +786,6 @@ _amdsbwd= amdsbwd
_amdsmn= amdsmn
_amdtemp= amdtemp
_arcmsr= arcmsr
-_asmc= asmc
.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
_blake2= blake2
.endif
@@ -845,6 +844,7 @@ _x86bios= x86bios
.if ${MACHINE_CPUARCH} == "amd64"
_amdgpio= amdgpio
+_asmc= asmc
_ccp= ccp
_enic= enic
_iavf= iavf