|
@@ -27,6 +27,10 @@ MODULE_PARM_DESC(use_msi,
|
|
" Use MSI interrupt: "
|
|
" Use MSI interrupt: "
|
|
"0 - don't, 1 - (default) - single, or 3");
|
|
"0 - don't, 1 - (default) - single, or 3");
|
|
|
|
|
|
|
|
+static bool debug_fw; /* = false; */
|
|
|
|
+module_param(debug_fw, bool, S_IRUGO);
|
|
|
|
+MODULE_PARM_DESC(debug_fw, " load driver if FW not ready. For FW debug");
|
|
|
|
+
|
|
/* Bus ops */
|
|
/* Bus ops */
|
|
static int wil_if_pcie_enable(struct wil6210_priv *wil)
|
|
static int wil_if_pcie_enable(struct wil6210_priv *wil)
|
|
{
|
|
{
|
|
@@ -71,6 +75,8 @@ static int wil_if_pcie_enable(struct wil6210_priv *wil)
|
|
mutex_lock(&wil->mutex);
|
|
mutex_lock(&wil->mutex);
|
|
rc = wil_reset(wil);
|
|
rc = wil_reset(wil);
|
|
mutex_unlock(&wil->mutex);
|
|
mutex_unlock(&wil->mutex);
|
|
|
|
+ if (debug_fw)
|
|
|
|
+ rc = 0;
|
|
if (rc)
|
|
if (rc)
|
|
goto release_irq;
|
|
goto release_irq;
|
|
|
|
|