commit | cfdc8e0b9c3b64ee1f1441c3f6a7544ff832f1b4 | [log] [tgz] |
---|---|---|
author | Ben Warren <biggerbadderben@gmail.com> | Tue Aug 31 23:05:04 2010 -0700 |
committer | Wolfgang Denk <wd@denx.de> | Mon Nov 15 00:01:15 2010 +0100 |
tree | 28fa95e858ad2f9ac4ebecb194b3421de7bf3da3 | |
parent | 2a131b249da27fd1412272f780a3def4a808e69d [diff] |
Net: clarify board/cpu_eth_init calls 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@gmail.com>