[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150321.182345.1891615286035745676.davem@davemloft.net>
Date: Sat, 21 Mar 2015 18:23:45 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: linux@...nbow-software.org
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] cx82310_eth: wait for firmware to become ready
From: Ondrej Zary <linux@...nbow-software.org>
Date: Sat, 21 Mar 2015 11:29:37 +0100
> 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@...nbow-software.org>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists