Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2014 00:35:58 -0800
From:      Warner Losh <bsdimp@gmail.com>
To:        Christian Brueffer <brueffer@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Warner Losh <imp@FreeBSD.org>
Subject:   Re: svn commit: r262548 - head/sys/arm/at91
Message-ID:  <EBF6877A-B10C-4979-B01B-09450B0726AA@bsdimp.com>
In-Reply-To: <530EF570.1060803@FreeBSD.org>
References:  <201402270819.s1R8JJHT013835@svn.freebsd.org> <530EF570.1060803@FreeBSD.org>

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

On Feb 27, 2014, at 12:21 AM, Christian Brueffer <brueffer@FreeBSD.org> =
wrote:

> On 2/27/14 9:19 AM, Warner Losh wrote:
>> Author: imp
>> Date: Thu Feb 27 08:19:19 2014
>> New Revision: 262548
>> URL: http://svnweb.freebsd.org/changeset/base/262548
>>=20
>> Log:
>>  Style(9) nit: Use tab here.
>>=20
>> Modified:
>>  head/sys/arm/at91/uart_dev_at91usart.c
>>=20
>> Modified: head/sys/arm/at91/uart_dev_at91usart.c
>> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
>> --- head/sys/arm/at91/uart_dev_at91usart.c	Thu Feb 27 04:45:29 2014	=
(r262547)
>> +++ head/sys/arm/at91/uart_dev_at91usart.c	Thu Feb 27 08:19:19 2014	=
(r262548)
>> @@ -279,7 +279,7 @@ at91_usart_init(struct uart_bas *bas, in
>> 	 * we don't want to hang here forever if the hardware is in a =
bad state.
>> 	 */
>> 	if (!(RD4(bas, USART_CSR) & USART_CSR_TXRDY))
>> -	    DELAY(1000);
>> +		DELAY(10000);
>>=20
>> 	at91_usart_param(bas, baudrate, databits, stopbits, parity);
>>=20
>>=20
>=20
> This also changes the actual DELAY value, was that intended?

Yes. It should have been documented when I made the change, but I did =
this a while ago and missed the extra zero when I prepared the commit. =
My bad.

Warner=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EBF6877A-B10C-4979-B01B-09450B0726AA>