From: Yuval Mintz Date: Thu, 9 Aug 2012 04:37:25 +0000 (+0000) Subject: bnx2x: fix unload previous driver flow when flr-capable X-Git-Tag: v3.6-rc2~15^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8eee694c3e667e6f0856d9c8525208058f9d42bf;p=pandora-kernel.git bnx2x: fix unload previous driver flow when flr-capable The existing previous driver unload flow is flawed, causing the probe of functions reaching the 'uncommon fork' in flr-capable devices to fail. This patch resolves this, as well as fixing the flow for hypervisors which disable flr capabilities from functions as they pass them as PDA to VMs, as we cannot base the flow on the pci configuration space. Signed-off-by: Yuval Mintz Signed-off-by: Ariel Elior Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed