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

Emmanuel Vadot manu at bidouilliste.com
Sun Feb 26 09:29:40 UTC 2017


 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 at 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 at bidouilliste.com> <manu at freebsd.org>


More information about the svn-src-head mailing list