qlge: Set PCIe reset type for EEH to fundamental.
authorRon Mercer <ron.mercer@qlogic.com>
Fri, 6 Nov 2009 07:44:58 +0000 (07:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Nov 2009 04:33:38 +0000 (20:33 -0800)
This device requires a fundamental reset when recovering from EEH.

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge_main.c

index cea7531f4f407d7a2a1542750142d2fa95f17fb1..a2fc70a0d0cc55e2ba3886cfd4de21aaed8acd63 100644 (file)
@@ -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),