[U-Boot] [PATCH NET 2/2] Net: clarify board/cpu_eth_init calls

Wolfgang Denk wd at denx.de
Mon Nov 15 00:01:41 CET 2010


Dear Ben Warren,

In message <1283321104-953-2-git-send-email-biggerbadderben at gmail.com> you wrote:
> This has always been confusing, and the idea of these functions returning the
> number of interfaces initialized was half-baked and ultimately pointless.
> Instead, act more like regular functions and return < 0 on failure, >= 0 on
> success.
> 
> This change shouldn't break anything.
> 
> Signed-off-by: Ben Warren <biggerbadderben at gmail.com>
> ---
>  net/eth.c |   16 ++++++++++++----
>  1 files changed, 12 insertions(+), 4 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
He is truly wise who gains wisdom from another's mishap.


More information about the U-Boot mailing list