Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2018 19:43:00 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r329991 - head/sys/dev/uart
Message-ID:  <201802251943.w1PJh0R6095705@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802251943.w1PJh0R6095705>