git: 1dd5b197b723 - stable/14 - uart: Add ns8250 ACPI entry for SPCR rev 2

From: Colin Percival <cperciva_at_FreeBSD.org>
Date: Sun, 08 Feb 2026 20:25:00 UTC
The branch stable/14 has been updated by cperciva:

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

commit 1dd5b197b72357dfe50d6da2c9cb5b34bf4bf64b
Author:     Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2026-02-08 00:42:03 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2026-02-08 20:24:17 +0000

    uart: Add ns8250 ACPI entry for SPCR rev 2
    
    This is an MFC "in spirit" of a685a263b803; the code in this area has
    been significantly restructured between 14.x and 15.x, but the general
    concept of adding ACPI_DBG2_16550_WITH_GAS (aka 0x12) as a recognized
    flavour of ns8250 UART which can be configured via SPCR remains.
    
    Reviewed by:    imp
    Tested by:      David Woodhouse
    Sponsored by:   Amazon
    Differential Revision:  https://reviews.freebsd.org/D55173
---
 sys/dev/uart/uart_dev_ns8250.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/uart/uart_dev_ns8250.c b/sys/dev/uart/uart_dev_ns8250.c
index b73838b7d2b2..12ce684694af 100644
--- a/sys/dev/uart/uart_dev_ns8250.c
+++ b/sys/dev/uart/uart_dev_ns8250.c
@@ -449,6 +449,7 @@ static struct acpi_uart_compat_data acpi_compat_data[] = {
 	{"AMDI0020", &uart_ns8250_class, 0, 2, 0, 48000000, UART_F_BUSY_DETECT, "AMD / Synopsys Designware UART"},
 	{"APMC0D08", &uart_ns8250_class, ACPI_DBG2_16550_COMPATIBLE, 2, 4, 0, 0, "APM compatible UART"},
 	{"MRVL0001", &uart_ns8250_class, ACPI_DBG2_16550_SUBSET, 2, 0, 200000000, UART_F_BUSY_DETECT, "Marvell / Synopsys Designware UART"},
+	{"", &uart_ns8250_class, ACPI_DBG2_16550_WITH_GAS, 0, 0, 0, 0, "ACPI 16550 WITH GAS"},
 	{"SCX0006",  &uart_ns8250_class, 0, 2, 0, 62500000, UART_F_BUSY_DETECT, "SynQuacer / Synopsys Designware UART"},
 	{"HISI0031", &uart_ns8250_class, 0, 2, 0, 200000000, UART_F_BUSY_DETECT, "HiSilicon / Synopsys Designware UART"},
 	{"NXP0018", &uart_ns8250_class, 0, 0, 0, 350000000, UART_F_BUSY_DETECT, "NXP / Synopsys Designware UART"},