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/bxe | |
| parent | 7ee26a530a31c4b2f5edab56f80ef08e4066d804 (diff) | |
Notes
Diffstat (limited to 'sys/dev/bxe')
| -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 2d81933096aa..f3e5e1619f88 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", |
