Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93102
b: refs/heads/master
c: c682fc2
h: refs/heads/master
v: v3
  • Loading branch information
Auke Kok authored and Jeff Garzik committed Apr 25, 2008
1 parent 0e0ab34 commit bf013a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aad32739641d3a75818fbe653d4b0d530e965f2f
refs/heads/master: c682fc238a9ed45633822f107e1e9de192059bcc
2 changes: 2 additions & 0 deletions trunk/drivers/net/igb/igb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,7 @@ static int __devinit igb_probe(struct pci_dev *pdev,
goto err_pci_reg;

pci_set_master(pdev);
pci_save_state(pdev);

err = -ENOMEM;
netdev = alloc_etherdev(sizeof(struct igb_adapter));
Expand Down Expand Up @@ -4079,6 +4080,7 @@ static pci_ers_result_t igb_io_slot_reset(struct pci_dev *pdev)
return PCI_ERS_RESULT_DISCONNECT;
}
pci_set_master(pdev);
pci_restore_state(pdev);

pci_enable_wake(pdev, PCI_D3hot, 0);
pci_enable_wake(pdev, PCI_D3cold, 0);
Expand Down

0 comments on commit bf013a9

Please sign in to comment.