Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2007 20:01:28 +0200 (CEST)
From:      =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@cs.tu-berlin.de>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        arm@freebsd.org
Subject:   Re: How to get console output?
Message-ID:  <51177.2001:6f8:101e:0:20e:cff:fe6d:6adb.1180980088.squirrel@webmail.alpha-tierchen.de>
In-Reply-To: <20070604.113750.-1540390883.imp@bsdimp.com>
References:  <49326.2001:6f8:101e:0:20e:cff:fe6d:6adb.1180977230.squirrel@webmail.alpha-tierchen.de> <20070604.113750.-1540390883.imp@bsdimp.com>

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

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




help