git: 12e1ab887d58 - stable/14 - Add ASMC_DEBUG make option

From: Warner Losh <imp_at_FreeBSD.org>
Date: Wed, 25 Mar 2026 22:12:42 UTC
The branch stable/14 has been updated by imp:

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

commit 12e1ab887d58d18069554e0b5311d43d4ca50df0
Author:     Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-01-04 08:27:57 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2026-03-25 20:36:34 +0000

    Add ASMC_DEBUG make option
    
    This allows folks to enable debug statements in asmc(4) using kernel
    configs via the `options ASMC_DEBUG` directive.
    
    While here, remove a duplicate `device vt_efifb` directive in `NOTES`
    as it's already handled in the `GENERIC` config
    
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D54511
    
    (cherry picked from commit f224591746bdaf14ad5f63de4738a3146cc2f55f)
---
 sys/amd64/conf/NOTES   | 4 ++++
 sys/conf/options.amd64 | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/sys/amd64/conf/NOTES b/sys/amd64/conf/NOTES
index 55f631675bbe..187d5676d55e 100644
--- a/sys/amd64/conf/NOTES
+++ b/sys/amd64/conf/NOTES
@@ -111,6 +111,10 @@ options 	EFIRT
 device		asmc
 options		ASMC_DEBUG	# Enable asmc(4)-specific debug logic.
 
+# Apple System Management Controller (SMC)
+device		asmc
+options		ASMC_DEBUG	# Enable asmc(4)-specific debug logic.
+
 #
 # Intel QuickAssist driver with OpenCrypto support
 #
diff --git a/sys/conf/options.amd64 b/sys/conf/options.amd64
index c7c1f4da2a4a..a3a735731438 100644
--- a/sys/conf/options.amd64
+++ b/sys/conf/options.amd64
@@ -66,5 +66,8 @@ NO_LEGACY_PCIB		opt_cpu.h
 # Compatibility with Linux MP table bugs.
 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