diff options
author | jhb <jhb@FreeBSD.org> | 2011-03-23 13:10:15 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2011-03-23 13:10:15 +0000 |
commit | 00c3c01f4fbb02387e132c417f8a035d0366ee0d (patch) | |
tree | 69012038abf9668bf675409fa3f6a3717df04dbe /sys/dev/bxe/if_bxe.c | |
parent | c38540fcc91acf7efba68d2816bd1ab0babb248a (diff) | |
download | FreeBSD-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/bxe/if_bxe.c')
-rw-r--r-- | sys/dev/bxe/if_bxe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/bxe/if_bxe.c b/sys/dev/bxe/if_bxe.c index 2d81933..f3e5e16 100644 --- a/sys/dev/bxe/if_bxe.c +++ b/sys/dev/bxe/if_bxe.c @@ -1568,7 +1568,7 @@ bxe_probe_pci_caps(struct bxe_softc *sc) DBENTER(BXE_EXTREME_LOAD); /* Check if PCI Power Management capability is enabled. */ - if (pci_find_extcap(dev, PCIY_PMG, ®) == 0) { + if (pci_find_cap(dev, PCIY_PMG, ®) == 0) { if (reg != 0) { DBPRINT(sc, BXE_EXTREME_LOAD, "%s(): Found PM capability at 0x%04X\n", @@ -1578,7 +1578,7 @@ bxe_probe_pci_caps(struct bxe_softc *sc) } /* Check if PCIe capability is enabled. */ - if (pci_find_extcap(dev, PCIY_EXPRESS, ®) == 0) { + if (pci_find_cap(dev, PCIY_EXPRESS, ®) == 0) { if (reg != 0) { link_status = pci_read_config(dev, reg + 0x12, 2); @@ -1612,7 +1612,7 @@ bxe_probe_pci_caps(struct bxe_softc *sc) /* Check if MSI capability is enabled. */ - if (pci_find_extcap(dev, PCIY_MSI, ®) == 0) { + if (pci_find_cap(dev, PCIY_MSI, ®) == 0) { if (reg != 0) { DBPRINT(sc, BXE_EXTREME_LOAD, "%s(): Found MSI capability at 0x%04X\n", @@ -1622,7 +1622,7 @@ bxe_probe_pci_caps(struct bxe_softc *sc) } /* Check if MSI-X capability is enabled. */ - if (pci_find_extcap(dev, PCIY_MSIX, ®) == 0) { + if (pci_find_cap(dev, PCIY_MSIX, ®) == 0) { if (reg != 0) { DBPRINT(sc, BXE_EXTREME_LOAD, "%s(): Found MSI-X capability at 0x%04X\n", |