svn commit: r329991 - head/sys/dev/uart

Andrew Turner andrew at FreeBSD.org
Sun Feb 25 19:43:01 UTC 2018


Author: andrew
Date: Sun Feb 25 19:43:00 2018
New Revision: 329991
URL: https://svnweb.freebsd.org/changeset/base/329991

Log:
  Teach the Arm pl011 driver to attach to a SBSA uart. This is defined in
  the Server Base System Architecture to be a subset of the pl011 r1p5. As
  we don't use the removed features it is safe to just attach to the existing
  driver as is.
  
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/dev/uart/uart_dev_pl011.c

Modified: head/sys/dev/uart/uart_dev_pl011.c
==============================================================================
--- head/sys/dev/uart/uart_dev_pl011.c	Sun Feb 25 19:33:27 2018	(r329990)
+++ head/sys/dev/uart/uart_dev_pl011.c	Sun Feb 25 19:43:00 2018	(r329991)
@@ -333,6 +333,7 @@ UART_FDT_CLASS_AND_DEVICE(fdt_compat_data);
 #ifdef DEV_ACPI
 static struct acpi_uart_compat_data acpi_compat_data[] = {
 	{"ARMH0011", &uart_pl011_class, ACPI_DBG2_ARM_PL011},
+	{"ARMH0011", &uart_pl011_class, ACPI_DBG2_ARM_SBSA_GENERIC},
 	{NULL, NULL, 0},
 };
 UART_ACPI_CLASS_AND_DEVICE(acpi_compat_data);


More information about the svn-src-all mailing list