From: Mike Frysinger Date: Wed, 9 Mar 2011 02:38:19 -0500 Subject: [U-Boot] [PATCH] net: axi_ethernet: Add driver to u-boot In-Reply-To: <4D70BA71.9010609@monstr.eu> References: <1298886033-3350-1-git-send-email-monstr@monstr.eu> <201103031651.37414.vapier@gentoo.org> <4D70BA71.9010609@monstr.eu> Message-ID: <201103090238.20197.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday, March 04, 2011 05:09:53 Michal Simek wrote: > To finish this discuss - here is what you think that it is correct. > ad 2) > return -1 - if initialize failed > return 0 - never return > return >0 - # of devices oh, and to clarify on the "return 0", i think it's conceivable that if a device might not exist, the initialize function may return 0. whether any driver currently utilizes this is a different issue. -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/20110309/6dde67b9/attachment.pgp