From: Mike Frysinger Date: Sun, 11 Sep 2011 15:15:07 -0400 Subject: [U-Boot] [PATCH] KS8695: convert KS8695 eth driver to CONFIG_MULTI_ETH In-Reply-To: <1315644034-10661-1-git-send-email-greg.ungerer@opengear.com> References: <1315644034-10661-1-git-send-email-greg.ungerer@opengear.com> Message-ID: <201109111515.07738.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 Saturday, September 10, 2011 04:40:34 Greg Ungerer wrote: > --- a/include/netdev.h > +++ b/include/netdev.h > > +int ks8695_eth_initialize(bd_t *bis); so you say the func needs bd_t* ... > --- a/board/cm4008/cm4008.c > +++ b/board/cm4008/cm4008.c > --- a/board/cm41xx/cm41xx.c > +++ b/board/cm41xx/cm41xx.c > > +int board_eth_init(bd_t *bis) > +{ > + return ks8695_eth_initialize(); > +} but you dont pass it in the board funcs ... > --- a/drivers/net/ks8695eth.c > +++ b/drivers/net/ks8695eth.c > > +int ks8695_eth_initialize(void) nor does the func itself even take it ... not sure how this compiles ? do none of these files include netdev.h ? if they don't, i don't see how it compiles cleanly as that means you'd get warnings about implicit func prototypes ... -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/20110911/5faae601/attachment.pgp