From: Michael Chan Date: Wed, 8 Jun 2011 19:29:36 +0000 (+0000) Subject: cnic, bnx2: Check iSCSI support early in bnx2_init_one() X-Git-Tag: v3.1-rc1~316^2~450^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7625eb2f2fff7bfae41d3119b472c20b48874895;p=pandora-kernel.git cnic, bnx2: Check iSCSI support early in bnx2_init_one() Based on earlier patch from Neil Horman If iSCSI is not supported on a bnx2 device, bnx2_cnic_probe() will return NULL and the cnic device will not be visible to bnx2i. This will prevent bnx2i from registering and then unregistering during cnic_start() and cause the warning message: bnx2 0003:01:00.1: eth1: Failed waiting for ULP up call to complete Signed-off-by: Michael Chan Cc: Neil Horman Signed-off-by: David S. Miller --- Reading git-diff-tree failed