Netdev List
 help / color / mirror / Atom feed
From: Ron Mercer <ron.mercer@qlogic.com>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, ron.mercer@qlogic.com
Subject: [net-2.6 PATCH 2/2] qlge: Set PCIe reset type for EEH to fundamental.
Date: Fri,  6 Nov 2009 09:44:58 -0800	[thread overview]
Message-ID: <1257529498-17459-3-git-send-email-ron.mercer@qlogic.com> (raw)
In-Reply-To: <1257529498-17459-1-git-send-email-ron.mercer@qlogic.com>

This device requires a fundamental reset when recovering from EEH.

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
---
 drivers/net/qlge/qlge_main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c
index cea7531..a2fc70a 100644
--- a/drivers/net/qlge/qlge_main.c
+++ b/drivers/net/qlge/qlge_main.c
@@ -3916,6 +3916,8 @@ static int __devinit ql_init_device(struct pci_dev *pdev,
 		goto err_out;
 	}
 
+	/* Set PCIe reset type for EEH to fundamental. */
+	pdev->needs_freset = 1;
 	pci_save_state(pdev);
 	qdev->reg_base =
 	    ioremap_nocache(pci_resource_start(pdev, 1),
-- 
1.6.0.2


  parent reply	other threads:[~2009-11-06 17:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-06 17:44 [net-2.6 PATCH 0/2] qlge: EEH and Mbox command fixes Ron Mercer
2009-11-06 17:44 ` [net-2.6 PATCH 1/2] qlge: Fix early exit from mbox cmd complete wait Ron Mercer
2009-11-07  4:35   ` David Miller
2009-11-07 18:32     ` Ron Mercer
2009-11-06 17:44 ` Ron Mercer [this message]
2009-11-07  4:35   ` [net-2.6 PATCH 2/2] qlge: Set PCIe reset type for EEH to fundamental David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1257529498-17459-3-git-send-email-ron.mercer@qlogic.com \
    --to=ron.mercer@qlogic.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox