All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 2/2] net: fec_mxc: Fix MDC for xMII
@ 2012-07-19 12:12 Benoît Thébaudeau
  2012-07-19 17:55 ` Joe Hershberger
  0 siblings, 1 reply; 2+ messages in thread
From: Benoît Thébaudeau @ 2012-07-19 12:12 UTC (permalink / raw)
  To: u-boot

The MDC signal is available on all xMII (i.e. 'not 7-wire') interfaces, so
mii_speed has to be set for all these interfaces, and not only for MII.

Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
---
 .../drivers/net/fec_mxc.c                          |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git u-boot-66714b1.orig/drivers/net/fec_mxc.c u-boot-66714b1/drivers/net/fec_mxc.c
index c64a223..e25cde0 100644
--- u-boot-66714b1.orig/drivers/net/fec_mxc.c
+++ u-boot-66714b1/drivers/net/fec_mxc.c
@@ -597,7 +597,7 @@ static int fec_init(struct eth_device *dev, bd_t* bd)
 
 	fec_reg_setup(fec);
 
-	if (fec->xcv_type == MII10 || fec->xcv_type == MII100)
+	if (fec->xcv_type != SEVENWIRE)
 		fec_mii_setspeed(fec);
 
 	/*

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH 2/2] net: fec_mxc: Fix MDC for xMII
  2012-07-19 12:12 [U-Boot] [PATCH 2/2] net: fec_mxc: Fix MDC for xMII Benoît Thébaudeau
@ 2012-07-19 17:55 ` Joe Hershberger
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Hershberger @ 2012-07-19 17:55 UTC (permalink / raw)
  To: u-boot

Hi Beno?t,

On Thu, Jul 19, 2012 at 7:12 AM, Beno?t Th?baudeau
<benoit.thebaudeau@advansee.com> wrote:
> The MDC signal is available on all xMII (i.e. 'not 7-wire') interfaces, so
> mii_speed has to be set for all these interfaces, and not only for MII.
>
> Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
> Cc: Joe Hershberger <joe.hershberger@gmail.com>
> Cc: Stefano Babic <sbabic@denx.de>
> ---

Applied to next, thanks.

-Joe

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-19 17:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-19 12:12 [U-Boot] [PATCH 2/2] net: fec_mxc: Fix MDC for xMII Benoît Thébaudeau
2012-07-19 17:55 ` Joe Hershberger

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.