Skip to content

Commit

Permalink
e1000: Janitor: Use #defined values for literals
Browse files Browse the repository at this point in the history
Minor janitorial patch: use #defines for literal values.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
  • Loading branch information
Linas Vepstas authored and Auke Kok committed Sep 27, 2006
1 parent 4666560 commit dbf38c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/e1000/e1000_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4912,8 +4912,8 @@ static pci_ers_result_t e1000_io_slot_reset(struct pci_dev *pdev)
}
pci_set_master(pdev);

pci_enable_wake(pdev, 3, 0);
pci_enable_wake(pdev, 4, 0); /* 4 == D3 cold */
pci_enable_wake(pdev, PCI_D3hot, 0);
pci_enable_wake(pdev, PCI_D3cold, 0);

/* Perform card reset only on one instance of the card */
if (PCI_FUNC (pdev->devfn) != 0)
Expand Down

0 comments on commit dbf38c9

Please sign in to comment.