From 0bd23ca0ee28894c44aa7b4bdfb5609bfb1e2303 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 11 Oct 2024 13:23:44 -0600 Subject: 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(-) (limited to 'sys') 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); -- cgit v1.3