]> git.dujemihanovic.xyz Git - u-boot.git/commit
Wait for the link to come up on kirkwood network init
authorSimon Kagstrom <simon.kagstrom@netinsight.net>
Thu, 20 Aug 2009 08:13:06 +0000 (10:13 +0200)
committerBen Warren <biggerbadderben@gmail.com>
Fri, 21 Aug 2009 16:57:33 +0000 (09:57 -0700)
commitcad713bf7548b9e90433dac8270165402a6c9cc3
treea0e8607d951a0efff50ccb68420daf0cc2efabf2
parentbb1ca3b27f7fba8c73cb10279a6a8b8b69a308ff
Wait for the link to come up on kirkwood network init

This patch makes the device wait for up to 5 seconds for the link to
come up, similar to what many of the other network drivers do. This
avoids confusing situations where, e.g., a tftp fails when initiated
early after U-boot has started (before the link has come up).

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/kirkwood_egiga.c