From: Wolfgang Denk Date: Mon, 15 Nov 2010 00:01:41 +0100 Subject: [U-Boot] [PATCH NET 2/2] Net: clarify board/cpu_eth_init calls In-Reply-To: <1283321104-953-2-git-send-email-biggerbadderben@gmail.com> References: <1283321104-953-1-git-send-email-biggerbadderben@gmail.com> <1283321104-953-2-git-send-email-biggerbadderben@gmail.com> Message-ID: <20101114230141.442D3134FEF@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Ben Warren, In message <1283321104-953-2-git-send-email-biggerbadderben@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 > --- > 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.