projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd22c2b
)
Fix Tsec bug when no link
author
Jin Zhengxiong-R64188
<Jason.Jin@freescale.com>
Tue, 27 Jun 2006 10:12:23 +0000
(18:12 +0800)
committer
Jon Loeliger
<jdl@freescale.com>
Tue, 27 Jun 2006 15:00:13 +0000
(10:00 -0500)
When tftp a non-exist file from the tftp server, u-boot will check
the link of all eth port. The original file will return wrong link
state on the no link ports.
signed-off-by: Jason Jin <Jason.Jin@freescale.com>
drivers/tsec.c
patch
|
blob
|
history
diff --git
a/drivers/tsec.c
b/drivers/tsec.c
index 18778c270a6491d8d92811af8b15b945e6c926f3..a8a2ba2f52969da5f5879a6261184a4f7592da24 100644
(file)
--- a/
drivers/tsec.c
+++ b/
drivers/tsec.c
@@
-372,7
+372,7
@@
uint mii_parse_sr(uint mii_reg, struct tsec_private *priv)
if (i > PHY_AUTONEGOTIATE_TIMEOUT) {
puts (" TIMEOUT !\n");
priv->link = 0;
-
break
;
+
return 0
;
}
if ((i++ % 1000) == 0) {