diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2015-03-21 10:29:37 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-21 22:23:19 (GMT) |
commit | f40bff4239d45ac061044a8a79cf6868c62df345 (patch) | |
tree | c645a94da7ca242c6593044b437f65c3a5cec68c /include/net | |
parent | 4de930efc23b92ddf88ce91c405ee645fe6e27ea (diff) | |
download | linux-f40bff4239d45ac061044a8a79cf6868c62df345.tar.xz |
cx82310_eth: wait for firmware to become ready
When the device is powered up, some (older) firmware versions fail to work
properly if we send commands before the boot is complete (everything is OK
when the device is hot-plugged). The firmware indicates its ready status by
putting the link up.
Newer firmwares delay the first command so they don't suffer from this problem.
They also report the link being always up.
Wait for firmware to become ready (link up) before sending any commands and/or
data.
This also allows lowering CMD_TIMEOUT value to a reasonable time.
Tested with 4.1.0.9 (old) and 4.1.0.30 (new) firmware versions.
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions