projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4666560
)
e1000: Janitor: Use #defined values for literals
author
Linas Vepstas
<linas@austin.ibm.com>
Wed, 27 Sep 2006 19:54:11 +0000
(12:54 -0700)
committer
Auke Kok
<juke-jan.h.kok@intel.com>
Wed, 27 Sep 2006 19:54:11 +0000
(12:54 -0700)
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>
drivers/net/e1000/e1000_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/e1000/e1000_main.c
b/drivers/net/e1000/e1000_main.c
index 593bfbeef8d42ee3d8a77f5450518b986b65bf7e..d5e8fd5a69f22c7232da4ae339c3a1b60dbad9d4 100644
(file)
--- 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)