|
@@ -3431,6 +3431,7 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
|
|
}
|
|
}
|
|
|
|
|
|
pci_set_master(pdev);
|
|
pci_set_master(pdev);
|
|
|
|
+ pci_save_state(pdev);
|
|
|
|
|
|
#ifdef CONFIG_NETDEVICES_MULTIQUEUE
|
|
#ifdef CONFIG_NETDEVICES_MULTIQUEUE
|
|
netdev = alloc_etherdev_mq(sizeof(struct ixgbe_adapter), MAX_TX_QUEUES);
|
|
netdev = alloc_etherdev_mq(sizeof(struct ixgbe_adapter), MAX_TX_QUEUES);
|
|
@@ -3721,6 +3722,7 @@ static pci_ers_result_t ixgbe_io_slot_reset(struct pci_dev *pdev)
|
|
return PCI_ERS_RESULT_DISCONNECT;
|
|
return PCI_ERS_RESULT_DISCONNECT;
|
|
}
|
|
}
|
|
pci_set_master(pdev);
|
|
pci_set_master(pdev);
|
|
|
|
+ pci_restore_state(pdev);
|
|
|
|
|
|
pci_enable_wake(pdev, PCI_D3hot, 0);
|
|
pci_enable_wake(pdev, PCI_D3hot, 0);
|
|
pci_enable_wake(pdev, PCI_D3cold, 0);
|
|
pci_enable_wake(pdev, PCI_D3cold, 0);
|