aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/e1000/if_lem.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2011-03-23 13:10:15 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2011-03-23 13:10:15 +0000
commit3b0a4aef967e33d85308e74b00c472820e173c7a (patch)
tree69012038abf9668bf675409fa3f6a3717df04dbe /sys/dev/e1000/if_lem.c
parent7ee26a530a31c4b2f5edab56f80ef08e4066d804 (diff)
Do a sweep of the tree replacing calls to pci_find_extcap() with calls to
pci_find_cap() instead.
Notes
Notes: svn path=/head/; revision=219902
Diffstat (limited to 'sys/dev/e1000/if_lem.c')
-rw-r--r--sys/dev/e1000/if_lem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/e1000/if_lem.c b/sys/dev/e1000/if_lem.c
index 7f10909b79c6..d4bd1b6a3a02 100644
--- a/sys/dev/e1000/if_lem.c
+++ b/sys/dev/e1000/if_lem.c
@@ -3939,7 +3939,7 @@ lem_enable_wakeup(device_t dev)
u32 pmc, ctrl, ctrl_ext, rctl;
u16 status;
- if ((pci_find_extcap(dev, PCIY_PMG, &pmc) != 0))
+ if ((pci_find_cap(dev, PCIY_PMG, &pmc) != 0))
return;
/* Advertise the wakeup capability */