All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 6/8] ColdFire: Add MCF547x_8x FEC driver
Date: Mon, 14 Jan 2008 16:11:53 -0500	[thread overview]
Message-ID: <478BD019.3090404@gmail.com> (raw)
In-Reply-To: <4791E710007FEB4BBF83775D787F462F05CC68B0@az33exm22.fsl.freescale.net>

Liew Tsi Chung wrote:
> Ben,
>
> 	Yes. I agree the function name is not very descriptive. Will
> mcdmafec_initialize() work (mcdma - multi-channel dma)? I can't name it
> specific to coldfire, because this driver will also work on MPC8220.
>
> Regards,
> TsiChung
> 	
>
>   
Sure, that's better.
>> diff --git a/net/eth.c b/net/eth.c
>> index 5d9e9c1..fd3dc85 100644
>> --- a/net/eth.c
>> +++ b/net/eth.c
>> @@ -61,6 +61,7 @@ extern int uec_initialize(int);  extern int 
>> bfin_EMAC_initialize(bd_t *);  extern int 
>> atstk1000_eth_initialize(bd_t *);  extern int 
>> mcffec_initialize(bd_t*);
>> +extern int fecdma_initialize(bd_t*);
>>   
>>     
>
> Can you pick a more descriptive name than fecdma, please. At the very
> least it should be mcffecdma so we know it's Coldfire.
>
>   
>>  
>>  #ifdef CONFIG_API
>>  extern void (*push_packet)(volatile void *, int); @@ -272,6 +273,9 @@
>>     
>
>   
>> int eth_initialize(bd_t *bis)  #if defined(CONFIG_MCFFEC)
>>  	mcffec_initialize(bis);
>>  #endif
>> +#if defined(CONFIG_FSLDMAFEC)
>> +	fecdma_initialize(bis);
>> +#endif
>>  
>>  	if (!eth_devices) {
>>  		puts ("No ethernet found.\n");
>>   
>>     
>
>
>   

      reply	other threads:[~2008-01-14 21:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-12  2:38 [U-Boot-Users] [PATCH 6/8] ColdFire: Add MCF547x_8x FEC driver TsiChung Liew
2008-01-12  3:10 ` Ben Warren
2008-01-14 20:16   ` Liew Tsi Chung
2008-01-14 21:11     ` Ben Warren [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=478BD019.3090404@gmail.com \
    --to=biggerbadderben@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.