From: "Luis R. Rodriguez" <mcg...@suse.com> cxgb4 probe can take up to over 1 minute when the firmware is is written and installed on the device, even after this the device driver still does some device probing and can take quite a bit. This driver needs fixing but right now it simply wont' work on some systems. Use the new module_long_probe_init() to annotate this driver's probe is broken and require some love, but makes the driver operational until that is fixed.
Cc: Tetsuo Handa <penguin-ker...@i-love.sakura.ne.jp> Cc: Joseph Salisbury <joseph.salisb...@canonical.com> Cc: One Thousand Gnomes <gno...@lxorguk.ukuu.org.uk> Cc: Tim Gardner <tim.gard...@canonical.com> Cc: Pierre Fersing <pierre-fers...@pierref.org> Cc: Andrew Morton <a...@linux-foundation.org> Cc: Oleg Nesterov <o...@redhat.com> Cc: Benjamin Poirier <bpoir...@suse.de> Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> Cc: Nagalakshmi Nandigama <nagalakshmi.nandig...@avagotech.com> Cc: Praveen Krishnamoorthy <praveen.krishnamoor...@avagotech.com> Cc: Sreekanth Reddy <sreekanth.re...@avagotech.com> Cc: Abhijit Mahajan <abhijit.maha...@avagotech.com> Cc: Hariprasad S <haripra...@chelsio.com> Cc: Santosh Rastapur <sant...@chelsio.com> Cc: mpt-fusionlinux....@avagotech.com Cc: linux-scsi@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: net...@vger.kernel.org Signed-off-by: Luis R. Rodriguez <mcg...@suse.com> --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c index 36ebbda..5d8231d 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c @@ -34,6 +34,7 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt +#include <linux/kthread.h> #include <linux/bitmap.h> #include <linux/crc32.h> #include <linux/ctype.h> @@ -6815,5 +6816,5 @@ static void __exit cxgb4_cleanup_module(void) destroy_workqueue(workq); } -module_init(cxgb4_init_module); -module_exit(cxgb4_cleanup_module); +module_long_probe_init(cxgb4_init_module); +module_long_probe_exit(cxgb4_cleanup_module); -- 2.0.3 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html