[U-Boot] [PATCH] Fix DM9000 MAC address handling

Ben Warren biggerbadderben at gmail.com
Thu Oct 22 05:48:38 CEST 2009


Mike Frysinger wrote:
> On Wednesday 21 October 2009 20:25:09 Ben Warren wrote:
>   
>> +void dm9000_get_enetaddr(struct eth_device *dev)
>>     
>
> static ?
>
>   
Yeah, this was thrown together pretty quickly...
>> +#if !defined(CONFIG_DM9000_NO_SROM)
>> +	int i;
>> +	for (i = 0; i < 3; i++) {
>> +		dm9000_read_srom_word(i, dev->enetaddr + (2 * i));
>> +	}
>>     
>
> dont need the braces ...
>   
OK
> -mike
>   
thanks for the review,
Ben


More information about the U-Boot mailing list