From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] ColdFire: Add 10 base ethernet support for mcf5445x
Date: Mon, 02 Jun 2008 22:35:13 -0700 [thread overview]
Message-ID: <4844D811.30204@gmail.com> (raw)
In-Reply-To: <4844D52F.8080304@qstreams.com>
Ben Warren wrote:
> Tsi-Chung.Liew wrote:
>
>> From: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
>>
>> Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
>> ---
>> drivers/net/mcffec.c | 6 ++++++
>> 1 files changed, 6 insertions(+), 0 deletions(-)
>>
>> diff --git a/drivers/net/mcffec.c b/drivers/net/mcffec.c
>> index 5ab4726..8d4e248 100644
>> --- a/drivers/net/mcffec.c
>> +++ b/drivers/net/mcffec.c
>> @@ -125,11 +125,17 @@ void setFecDuplexSpeed(volatile fec_t * fecp, bd_t * bd, int dup_spd)
>> }
>>
>> if ((dup_spd & 0xFFFF) == _100BASET) {
>> +#ifdef CONFIG_MCF5445x
>> + fecp->rcr &= ~0x200; /* disabled 10T base */
>>
>>
> Don't you mean "&= ~0x200"? Negative hex is confusing stuff...
>
Never mind... Thunderbird is displaying tildes as hyphens.
>> +#endif
>> #ifdef MII_DEBUG
>> printf("100Mbps\n");
>> #endif
>> bd->bi_ethspeed = 100;
>> } else {
>> +#ifdef CONFIG_MCF5445x
>> + fecp->rcr |= 0x200; /* enabled 10T base */
>> +#endif
>> #ifdef MII_DEBUG
>> printf("10Mbps\n");
>> #endif
>>
>>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
>
prev parent reply other threads:[~2008-06-03 5:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-28 18:06 [U-Boot-Users] [PATCH] ColdFire: Add 10 base ethernet support for mcf5445x Tsi-Chung.Liew
2008-06-03 5:22 ` Ben Warren
2008-06-03 5:35 ` 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=4844D811.30204@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.