From: Greg Ungerer <greg.ungerer@opengear.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] KS8695: convert KS8695 eth driver to CONFIG_MULTI_ETH
Date: Mon, 12 Sep 2011 22:39:44 +1000 [thread overview]
Message-ID: <4E6DFD90.1010607@opengear.com> (raw)
In-Reply-To: <201109111515.07738.vapier@gentoo.org>
On 09/12/2011 05:15 AM, Mike Frysinger wrote:
> 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 ...
It compiled with a warning. Wolfgang fixed it in a follow-up patch.
Regards
Greg
prev parent reply other threads:[~2011-09-12 12:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-10 8:40 [U-Boot] [PATCH] KS8695: convert KS8695 eth driver to CONFIG_MULTI_ETH Greg Ungerer
2011-09-10 14:11 ` Wolfgang Denk
2011-09-11 19:15 ` Mike Frysinger
2011-09-12 12:39 ` Greg Ungerer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E6DFD90.1010607@opengear.com \
--to=greg.ungerer@opengear.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox