summaryrefslogtreecommitdiffstats
path: root/sys/dev/siba/siba_core.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2011-03-23 13:10:15 +0000
committerjhb <jhb@FreeBSD.org>2011-03-23 13:10:15 +0000
commit00c3c01f4fbb02387e132c417f8a035d0366ee0d (patch)
tree69012038abf9668bf675409fa3f6a3717df04dbe /sys/dev/siba/siba_core.c
parentc38540fcc91acf7efba68d2816bd1ab0babb248a (diff)
downloadFreeBSD-src-00c3c01f4fbb02387e132c417f8a035d0366ee0d.zip
FreeBSD-src-00c3c01f4fbb02387e132c417f8a035d0366ee0d.tar.gz
Do a sweep of the tree replacing calls to pci_find_extcap() with calls to
pci_find_cap() instead.
Diffstat (limited to 'sys/dev/siba/siba_core.c')
-rw-r--r--sys/dev/siba/siba_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/siba/siba_core.c b/sys/dev/siba/siba_core.c
index 979ac14..2b1a84f 100644
--- a/sys/dev/siba/siba_core.c
+++ b/sys/dev/siba/siba_core.c
@@ -362,7 +362,7 @@ siba_scan(struct siba_softc *siba)
case SIBA_DEVID_PCI:
case SIBA_DEVID_PCIE:
n_pci++;
- error = pci_find_extcap(siba->siba_dev, PCIY_EXPRESS,
+ error = pci_find_cap(siba->siba_dev, PCIY_EXPRESS,
&base);
is_pcie = (error == 0) ? 1 : 0;
OpenPOWER on IntegriCloud