]> Pileus Git - ~andy/linux/commitdiff
cxgb4: Fix EEH on IBM P7IOC
authorDivy Le Ray <divy@chelsio.com>
Sat, 24 Sep 2011 06:11:31 +0000 (06:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Sep 2011 04:32:10 +0000 (00:32 -0400)
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>
drivers/net/cxgb4/cxgb4_main.c

index c9957b7f17b57f0d746bbf2987684b49c7ce3ba3..b4efa292fd6fe7be9e6e0dd085335f7e52c5b59f 100644 (file)
@@ -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);