svn commit: r262548 - head/sys/arm/at91

Warner Losh bsdimp at gmail.com
Thu Feb 27 08:36:05 UTC 2014


On Feb 27, 2014, at 12:21 AM, Christian Brueffer <brueffer at 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
>> 
>> Log:
>>  Style(9) nit: Use tab here.
>> 
>> Modified:
>>  head/sys/arm/at91/uart_dev_at91usart.c
>> 
>> Modified: head/sys/arm/at91/uart_dev_at91usart.c
>> ==============================================================================
>> --- 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);
>> 
>> 	at91_usart_param(bas, baudrate, databits, stopbits, parity);
>> 
>> 
> 
> 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


More information about the svn-src-head mailing list