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/ixgbe | |
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/ixgbe')
-rw-r--r-- | sys/dev/ixgbe/ixv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ixgbe/ixv.c b/sys/dev/ixgbe/ixv.c index 6f3ad16..f9f910a 100644 --- a/sys/dev/ixgbe/ixv.c +++ b/sys/dev/ixgbe/ixv.c @@ -1627,7 +1627,7 @@ ixv_allocate_msix(struct adapter *adapter) */ if (adapter->hw.mac.type == ixgbe_mac_82599_vf) { int msix_ctrl; - pci_find_extcap(dev, PCIY_MSIX, &rid); + pci_find_cap(dev, PCIY_MSIX, &rid); rid += PCIR_MSIX_CTRL; msix_ctrl = pci_read_config(dev, rid, 2); msix_ctrl |= PCIM_MSIXCTRL_MSIX_ENABLE; |