git: 556739a53c92 - stable/13 - dev/uart: Add APMC0D08 as found in the Intel E2100

From: Andrew Turner <andrew_at_FreeBSD.org>
Date: Mon, 02 Sep 2024 09:12:39 UTC
The branch stable/13 has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=556739a53c924eb97253c95f777b61261e3d1b2e

commit 556739a53c924eb97253c95f777b61261e3d1b2e
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2024-07-23 09:18:36 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2024-09-02 09:11:57 +0000

    dev/uart: Add APMC0D08 as found in the Intel E2100
    
    This uart has the requirement for 32-bit sized and aligned memory
    accesses. It is also described in the Serial Port Console Redirection
    Table (SPCR) with a different interface type value.
    
    Reviewed by:    imp
    Sponsored by:   Arm Ltd
    Differential Revision:  https://reviews.freebsd.org/D45834
    
    (cherry picked from commit 9840598aa31f2a89272f5bef6545e316f254f0c6)
---
 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 879fe6e04a70..8b3ea502a8af 100644
--- a/sys/dev/uart/uart_dev_ns8250.c
+++ b/sys/dev/uart/uart_dev_ns8250.c
@@ -415,6 +415,7 @@ struct uart_class uart_ns8250_class = {
 static struct acpi_uart_compat_data acpi_compat_data[] = {
 	{"AMD0020",	&uart_ns8250_class, 0, 2, 0, 48000000, UART_F_BUSY_DETECT, "AMD / Synopsys Designware UART"},
 	{"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"},
 	{"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"},