Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Feb 2017 10:22:52 +0100
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Ruslan Bukin <br@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r314212 - head/sys/dev/uart
Message-ID:  <20170226102252.a71cba36fd86822065e61b1d@bidouilliste.com>
In-Reply-To: <201702241637.v1OGbZ1e047175@repo.freebsd.org>
References:  <201702241637.v1OGbZ1e047175@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

 Hello,

 This break uart in ARM.
 Based on the comment of the macros since we're using our own device
the ealier code was correct.

 Cheers,

On Fri, 24 Feb 2017 16:37:35 +0000 (UTC)
Ruslan Bukin <br@FreeBSD.org> wrote:

> Author: br
> Date: Fri Feb 24 16:37:35 2017
> New Revision: 314212
> URL: https://svnweb.freebsd.org/changeset/base/314212
> 
> Log:
>   Use correct macro for Synopsys UART driver declaration.
> 
> 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	Fri Feb 24 16:11:55 2017	(r314211)
> +++ head/sys/dev/uart/uart_dev_snps.c	Fri Feb 24 16:37:35 2017	(r314212)
> @@ -104,7 +104,7 @@ static struct ofw_compat_data compat_dat
>  	{ "snps,dw-apb-uart",		(uintptr_t)&uart_snps_class },
>  	{ NULL,				(uintptr_t)NULL }
>  };
> -UART_FDT_CLASS(compat_data);
> +UART_FDT_CLASS_AND_DEVICE(compat_data);
>  
>  #ifdef EXT_RESOURCES
>  static int


-- 
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>



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