summaryrefslogtreecommitdiffstats
path: root/sys/dev/aic7xxx
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/aic7xxx
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/aic7xxx')
-rw-r--r--sys/dev/aic7xxx/aic79xx_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/aic7xxx/aic79xx_pci.c b/sys/dev/aic7xxx/aic79xx_pci.c
index 1e3bbed..2f02cc6 100644
--- a/sys/dev/aic7xxx/aic79xx_pci.c
+++ b/sys/dev/aic7xxx/aic79xx_pci.c
@@ -353,7 +353,7 @@ ahd_pci_config(struct ahd_softc *ahd, struct ahd_pci_identity *entry)
* Find the PCI-X cap pointer. If we don't find it,
* pcix_ptr will be 0.
*/
- pci_find_extcap(ahd->dev_softc, PCIY_PCIX, &ahd->pcix_ptr);
+ pci_find_cap(ahd->dev_softc, PCIY_PCIX, &ahd->pcix_ptr);
devconfig = aic_pci_read_config(ahd->dev_softc, DEVCONFIG, /*bytes*/4);
if ((devconfig & PCIXINITPAT) == PCIXINIT_PCI33_66) {
ahd->chip |= AHD_PCI;
OpenPOWER on IntegriCloud