summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2011-09-24 06:11:31 +0000
committerDavid S. Miller <davem@davemloft.net>2011-09-29 00:32:10 -0400
commit6482aa7c120447858da1869197b48eff66435a31 (patch)
treeedc9d1e87b8664c5fc78ffa6a8a9217bc727c192
parentaabdcb0b553b9c9547b1a506b34d55a764745870 (diff)
downloadlinux-6482aa7c120447858da1869197b48eff66435a31.tar.gz
linux-6482aa7c120447858da1869197b48eff66435a31.tar.bz2
linux-6482aa7c120447858da1869197b48eff66435a31.zip
cxgb4: Fix EEH on IBM P7IOC
Fix EEH recovery on new P Series platform by requesting fundamental reset. Signed-off-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/cxgb4/cxgb4_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/cxgb4/cxgb4_main.c b/drivers/net/cxgb4/cxgb4_main.c
index c9957b7f17b5..b4efa292fd6f 100644
--- a/drivers/net/cxgb4/cxgb4_main.c
+++ b/drivers/net/cxgb4/cxgb4_main.c
@@ -3712,6 +3712,9 @@ static int __devinit init_one(struct pci_dev *pdev,
setup_debugfs(adapter);
}
+ /* PCIe EEH recovery on powerpc platforms needs fundamental reset */
+ pdev->needs_freset = 1;
+
if (is_offload(adapter))
attach_ulds(adapter);