sfc: Read MC firmware version when requested through ethtool
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 24 Feb 2011 23:57:47 +0000 (23:57 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Mon, 28 Feb 2011 23:57:23 +0000 (23:57 +0000)
We currently make no use of siena_nic_data::fw_{version,build} except
to format the firmware version for ethtool_get_drvinfo().  Since we
only read the version at start of day, this information is incorrect
after an MC firmware update.  Remove the cached version information
and read it via MCDI whenever it is requested.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>

No differences found