Date: Wed, 10 Oct 2018 10:34:18 +0000 (UTC) From: Marcin Wojtas <mw@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r339280 - head/sys/dev/uart Message-ID: <201810101034.w9AAYIlx050690@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mw Date: Wed Oct 10 10:34:17 2018 New Revision: 339280 URL: https://svnweb.freebsd.org/changeset/base/339280 Log: Update Armada 38x UART device tree binding Recent changes in Linux updated Marvell Armada 38x UART compatible string. As a result the FreeBSD driver (uart_dev_snps) does not probe. This commit fixes the situation, however not applying any functional modification to the driver methods. Approved by: re (kib) Obtained from: Semihalf Modified: head/sys/dev/uart/uart_dev_snps.c Modified: head/sys/dev/uart/uart_dev_snps.c ============================================================================== --- head/sys/dev/uart/uart_dev_snps.c Wed Oct 10 09:25:59 2018 (r339279) +++ head/sys/dev/uart/uart_dev_snps.c Wed Oct 10 10:34:17 2018 (r339280) @@ -127,6 +127,7 @@ struct uart_class uart_snps_class = { static struct ofw_compat_data compat_data[] = { { "snps,dw-apb-uart", (uintptr_t)&uart_snps_class }, + { "marvell,armada-38x-uart", (uintptr_t)&uart_snps_class }, { NULL, (uintptr_t)NULL } }; UART_FDT_CLASS(compat_data);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810101034.w9AAYIlx050690>