From owner-freebsd-arm@FreeBSD.ORG Mon Jun 4 18:01:37 2007 Return-Path: X-Original-To: arm@freebsd.org Delivered-To: freebsd-arm@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CCEFD16A469 for ; Mon, 4 Jun 2007 18:01:37 +0000 (UTC) (envelope-from bkoenig@cs.tu-berlin.de) Received: from mail.liberty-hosting.de (mail.smartterra.de [195.225.132.203]) by mx1.freebsd.org (Postfix) with ESMTP id 8B81413C45A for ; Mon, 4 Jun 2007 18:01:37 +0000 (UTC) (envelope-from bkoenig@cs.tu-berlin.de) Received: from mail.liberty-hosting.de ([195.225.132.203]) by localhost (liberty-mail [195.225.132.203]) (amavisd-new, port 10024) with ESMTP id 53136-10; Mon, 4 Jun 2007 20:01:31 +0200 (CEST) Received: from home.alpha-tierchen.de (port-212-202-170-5.dynamic.qsc.de [212.202.170.5]) by mail.liberty-hosting.de (Postfix) with ESMTP id 694AC17ED3F; Mon, 4 Jun 2007 20:01:31 +0200 (CEST) Received: from webmail.alpha-tierchen.de (localhost [127.0.0.1]) by home.alpha-tierchen.de (Postfix) with ESMTP id EB69F45046; Mon, 4 Jun 2007 20:01:28 +0200 (CEST) Received: from 2001:6f8:101e:0:20e:cff:fe6d:6adb (SquirrelMail authenticated user bkoenig) by webmail.alpha-tierchen.de with HTTP; Mon, 4 Jun 2007 20:01:28 +0200 (CEST) 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> Date: Mon, 4 Jun 2007 20:01:28 +0200 (CEST) From: =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= To: "M. Warner Losh" User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: by amavisd-new at mail.smartterra.de Cc: arm@freebsd.org Subject: Re: How to get console output? X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 18:01:37 -0000 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