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/cxgb/cxgb_main.c | |
parent | 7ee26a530a31c4b2f5edab56f80ef08e4066d804 (diff) | |
download | src-3b0a4aef967e33d85308e74b00c472820e173c7a.tar.gz src-3b0a4aef967e33d85308e74b00c472820e173c7a.zip |
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/cxgb/cxgb_main.c')
-rw-r--r-- | sys/dev/cxgb/cxgb_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cxgb/cxgb_main.c b/sys/dev/cxgb/cxgb_main.c index f094846b3fc6..be65f02d9165 100644 --- a/sys/dev/cxgb/cxgb_main.c +++ b/sys/dev/cxgb/cxgb_main.c @@ -458,7 +458,7 @@ cxgb_controller_attach(device_t dev) ai = cxgb_get_adapter_info(dev); /* find the PCIe link width and set max read request to 4KB*/ - if (pci_find_extcap(dev, PCIY_EXPRESS, ®) == 0) { + if (pci_find_cap(dev, PCIY_EXPRESS, ®) == 0) { uint16_t lnk; lnk = pci_read_config(dev, reg + PCIR_EXPRESS_LINK_STA, 2); |