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

Mike Frysinger vapier at gentoo.org
Thu Oct 22 05:31:08 CEST 2009


On Wednesday 21 October 2009 20:25:09 Ben Warren wrote:
> +void dm9000_get_enetaddr(struct eth_device *dev)

static ?

> +#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 ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20091021/bb323cc8/attachment.pgp 


More information about the U-Boot mailing list