projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d2d924
)
net: fec_mxc: Fix MDC for xMII
author
benoit.thebaudeau@advans
<benoit.thebaudeau@advans>
Thu, 19 Jul 2012 02:12:58 +0000
(
02:12
+0000)
committer
Joe Hershberger
<joe.hershberger@ni.com>
Thu, 19 Jul 2012 16:46:19 +0000
(11:46 -0500)
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
patch
|
blob
|
history
diff --git
a/drivers/net/fec_mxc.c
b/drivers/net/fec_mxc.c
index
ddbdd33
..
fbfc842
100644
(file)
--- a/
drivers/net/fec_mxc.c
+++ b/
drivers/net/fec_mxc.c
@@
-603,7
+603,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);
/*