From: Yuval Mintz Date: Sun, 29 Mar 2015 07:05:01 +0000 (+0300) Subject: bnx2x: Prevent probe as early as possible X-Git-Tag: omap-for-v4.2/o2_dc~131^2~114^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f587f1bfb1fb15d9ebd94c565dd11ae6d4e03b6;p=pandora-kernel.git bnx2x: Prevent probe as early as possible It's possible that due to errors [either on PCI or on device itself] registers reads would fail, returning all-Fs. This adds a check as early as possible so that driver will not read junk values and make incorrect probe decisions according to them; instead, gracefully fail the probe. Signed-off-by: Yuval Mintz Signed-off-by: Ariel Elior Signed-off-by: David S. Miller --- Reading git-diff-tree failed