Am Samstag 12 Mai 2012, 00:50:48 schrieb Michael Walle:
> Signed-off-by: Michael Walle <mich...@walle.cc>
> Cc: Joe Hershberger <joe.hershber...@gmail.com>
> ---
>  include/net.h |   16 ++++++++++++++++
>  net/eth.c     |   15 +++++++++++++++
>  2 files changed, 31 insertions(+), 0 deletions(-)
> 
> diff --git a/include/net.h b/include/net.h
> index f6aeba2..bdc3da6 100644
> --- a/include/net.h
> +++ b/include/net.h
> @@ -104,7 +104,9 @@ extern struct eth_device *eth_get_dev_by_index(int
> index); /* get dev @ index */ extern int eth_get_dev_index (void);            
/* get
> the device index */
>  extern void eth_parse_enetaddr(const char *addr, uchar *enetaddr);
>  extern int eth_getenv_enetaddr(char *name, uchar *enetaddr);
> +#ifdef CONFIG_SETENV_ENETADDR_BY_INDEX
>  extern int eth_setenv_enetaddr(char *name, const uchar *enetaddr);
> +#endif

sorry, wrong function, will be corrected in next version.

--
michael
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to