diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2011-03-23 13:10:15 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2011-03-23 13:10:15 +0000 |
| commit | 3b0a4aef967e33d85308e74b00c472820e173c7a (patch) | |
| tree | 69012038abf9668bf675409fa3f6a3717df04dbe /sys/dev/xl | |
| parent | 7ee26a530a31c4b2f5edab56f80ef08e4066d804 (diff) | |
Notes
Diffstat (limited to 'sys/dev/xl')
| -rw-r--r-- | sys/dev/xl/if_xl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/xl/if_xl.c b/sys/dev/xl/if_xl.c index 43005e66967e..1db6ece71f98 100644 --- a/sys/dev/xl/if_xl.c +++ b/sys/dev/xl/if_xl.c @@ -1407,7 +1407,7 @@ xl_attach(device_t dev) /* Check availability of WOL. */ if ((sc->xl_caps & XL_CAPS_PWRMGMT) != 0 && - pci_find_extcap(dev, PCIY_PMG, &pmcap) == 0) { + pci_find_cap(dev, PCIY_PMG, &pmcap) == 0) { sc->xl_pmcap = pmcap; sc->xl_flags |= XL_FLAG_WOL; sinfo2 = 0; |
