diff options
author | Linas Vepstas <linas@austin.ibm.com> | 2006-09-27 12:54:11 -0700 |
---|---|---|
committer | Auke Kok <juke-jan.h.kok@intel.com> | 2006-09-27 12:54:11 -0700 |
commit | dbf38c9474306297866d9c2af02c2d37c5165325 (patch) | |
tree | 91af8787237b9dff200f0b93aeb61d74466e00c6 /drivers/net/e1000/e1000_main.c | |
parent | 4666560a37dfdc748ae7c1d9f09c7b6ff03ce899 (diff) | |
download | talos-obmc-linux-dbf38c9474306297866d9c2af02c2d37c5165325.tar.gz talos-obmc-linux-dbf38c9474306297866d9c2af02c2d37c5165325.zip |
e1000: Janitor: Use #defined values for literals
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>
Diffstat (limited to 'drivers/net/e1000/e1000_main.c')
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index 593bfbeef8d4..d5e8fd5a69f2 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c @@ -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) |