git: a685a263b803 - main - uart: Add ns8250 ACPI entry for SPCR rev 2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Aug 2025 14:02:37 UTC
The branch main has been updated by jhibbits:
URL: https://cgit.FreeBSD.org/src/commit/?id=a685a263b803012d9546abaca4dcf52f80c6b8d6
commit a685a263b803012d9546abaca4dcf52f80c6b8d6
Author: Justin Hibbits <jhibbits@FreeBSD.org>
AuthorDate: 2025-08-06 20:46:27 +0000
Commit: Justin Hibbits <jhibbits@FreeBSD.org>
CommitDate: 2025-08-13 14:02:14 +0000
uart: Add ns8250 ACPI entry for SPCR rev 2
Summary:
SPCR rev 2 adds a series of new device types, with 0x12 being
"16550-compatible with parameters defined in the Generic Address
Structure". Since we look for the parameters already in the GAS there's
nothing extra for us to do beyond adding the entry so that it probes
successfully.
Reviewed by: imp, andrew
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D51771
---
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 56db0b26487b..c38d50e54ad8 100644
--- a/sys/dev/uart/uart_dev_ns8250.c
+++ b/sys/dev/uart/uart_dev_ns8250.c
@@ -495,6 +495,7 @@ UART_CLASS(uart_ns8250_class);
static struct acpi_spcr_compat_data acpi_spcr_compat_data[] = {
{ &uart_ns8250_class, ACPI_DBG2_16550_COMPATIBLE },
{ &uart_ns8250_class, ACPI_DBG2_16550_SUBSET },
+ { &uart_ns8250_class, ACPI_DBG2_16550_WITH_GAS },
{ NULL, 0 },
};
UART_ACPI_SPCR_CLASS(acpi_spcr_compat_data);