How to get console output?

Björn König bkoenig at cs.tu-berlin.de
Mon Jun 4 18:01:37 UTC 2007


M. Warner Losh wrote:

> I have the following sitting in my tree:
>
> Index: uart_cpu_at91rm9200usart.c
> ===================================================================
> RCS file: /cache/ncvs/src/sys/arm/at91/uart_cpu_at91rm9200usart.c,v
> retrieving revision 1.3
> diff -u -r1.3 uart_cpu_at91rm9200usart.c
> --- uart_cpu_at91rm9200usart.c	2 Apr 2007 22:00:21 -0000	1.3
> +++ uart_cpu_at91rm9200usart.c	4 Jun 2007 17:37:20 -0000
> @@ -80,5 +80,6 @@
>  	uart_bus_space_io = &at91_bs_tag;
>  	uart_bus_space_mem = NULL;
>  	/* Check the environment for overrides */
> -	return (uart_getenv(devtype, di, class));
> +	uart_getenv(devtype, di, class);
> +	return 0;
>  }
>
> waiting to find some time to test it.

Thanks. It works!

:-)

Björn




More information about the freebsd-arm mailing list