Message ID | 20110924161130.18521.39558.stgit@speedy5.asicdesigners.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Divy Le Ray <divy@chelsio.com> Date: Sat, 24 Sep 2011 09:11:31 -0700 > From: Divy Le Ray <divy@chelsio.com> > > Fix EEH recovery on new P Series platform by > requesting fundamental reset. > > Signed-off-by: Divy Le Ray <divy@chelsio.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/cxgb4/cxgb4_main.c b/drivers/net/cxgb4/cxgb4_main.c index c9957b7..b4efa29 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);