git: 0bd23ca0ee28 - main - uart: Fix cut-n-paste error in DBG2 code

From: Warner Losh <imp_at_FreeBSD.org>
Date: Fri, 11 Oct 2024 21:28:17 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=0bd23ca0ee28894c44aa7b4bdfb5609bfb1e2303

commit 0bd23ca0ee28894c44aa7b4bdfb5609bfb1e2303
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-10-11 19:23:44 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-10-11 21:27:46 +0000

    uart: Fix cut-n-paste error in DBG2 code
    
    This code is parsing the DBG2 ACPI table, not the SPCR table, so tweak
    the comment.
    
    Sponsored by:           Netflix
---
 sys/dev/uart/uart_cpu_acpi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/uart/uart_cpu_acpi.c b/sys/dev/uart/uart_cpu_acpi.c
index 7892437e11de..ae22a9822aa6 100644
--- a/sys/dev/uart/uart_cpu_acpi.c
+++ b/sys/dev/uart/uart_cpu_acpi.c
@@ -222,7 +222,7 @@ uart_cpu_acpi_dbg2(struct uart_devinfo *di)
 	int error;
 	bool found;
 
-	/* Look for the SPCR table. */
+	/* Look for the DBG2 table. */
 	dbg2_physaddr = acpi_find_table(ACPI_SIG_DBG2);
 	if (dbg2_physaddr == 0)
 		return (ENXIO);