Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2016 13:47:44 +0000 (UTC)
From:      Zbigniew Bodek <zbb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r294423 - head/sys/dev/uart
Message-ID:  <201601201347.u0KDlilQ065249@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zbb
Date: Wed Jan 20 13:47:44 2016
New Revision: 294423
URL: https://svnweb.freebsd.org/changeset/base/294423

Log:
  Add compatibility string for dw-apb-uart in ns8250 driver
  
  This compatibility string is used in .dts file of Armada38x
  and isrequired for driver attachment.
  
  Reviewed by:    andrew, ian, imp
  Obtained from:  Semihalf
  Sponsored by:   Stormshield
  Submitted by:   Michal Stanek <mst@semihalf.com>
  Differential revision:  https://reviews.freebsd.org/D4216

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

Modified: head/sys/dev/uart/uart_dev_ns8250.c
==============================================================================
--- head/sys/dev/uart/uart_dev_ns8250.c	Wed Jan 20 13:45:35 2016	(r294422)
+++ head/sys/dev/uart/uart_dev_ns8250.c	Wed Jan 20 13:47:44 2016	(r294423)
@@ -397,6 +397,7 @@ struct uart_class uart_ns8250_class = {
 #ifdef FDT
 static struct ofw_compat_data compat_data[] = {
 	{"ns16550",		(uintptr_t)&uart_ns8250_class},
+	{"snps,dw-apb-uart",	(uintptr_t)&uart_ns8250_class},
 	{NULL,			(uintptr_t)NULL},
 };
 UART_FDT_CLASS_AND_DEVICE(compat_data);



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