1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-21 07:15:49 +00:00

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
This commit is contained in:
Warner Losh 2024-10-11 13:23:44 -06:00
parent 9d81f99b12
commit 0bd23ca0ee

View File

@ -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);