From: Ariel Elior Date: Thu, 26 Jan 2012 06:01:49 +0000 (+0000) Subject: bnx2x: Loaded Firmware Version Validation X-Git-Tag: v3.4-rc1~177^2~480 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1e2d9660e6bca2f06606b4bc65ea669bf669b0a;p=pandora-kernel.git bnx2x: Loaded Firmware Version Validation In a virtualized environment it is possible for a loading driver to discover that Firmware is already loaded to the device, and that this FW does not match its own. This can happen for example if different Physical Functions are Assigned to different VMs in which different driver versions are loaded. The code in this patch ensures that only drivers with matching FW are loaded over the device, and that in the case described above where the Firmware version doesn't match the driver load is aborted. Signed-off-by: Ariel Elior Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed