diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-07-15 16:13:00 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-19 19:12:26 -0500 |
commit | cf4c43dd439b90a1a876b3f836ebe745abb9a269 (patch) | |
tree | 59d7a278d9d5cb6c9927819fa75231e284b29556 /include/linux/pci.h | |
parent | 724e6d3fe8003c3f60bf404bf22e4e331327c596 (diff) |
PCI: Add pci_bus_find_ext_capability
For use by code that needs to walk extended capability lists before
pci_dev structures are set up.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
LKML-Reference: <43F901BD926A4E43B106BF17856F07559FB80CFD@orsmsx508.amr.corp.intel.com>
Signed-off-by: Jacob Pan <jacob.jun.pan@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index c1968f464c38..65f8a8f9d3e5 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -631,6 +631,8 @@ enum pci_lost_interrupt_reason pci_lost_interrupt(struct pci_dev *dev); | |||
631 | int pci_find_capability(struct pci_dev *dev, int cap); | 631 | int pci_find_capability(struct pci_dev *dev, int cap); |
632 | int pci_find_next_capability(struct pci_dev *dev, u8 pos, int cap); | 632 | int pci_find_next_capability(struct pci_dev *dev, u8 pos, int cap); |
633 | int pci_find_ext_capability(struct pci_dev *dev, int cap); | 633 | int pci_find_ext_capability(struct pci_dev *dev, int cap); |
634 | int pci_bus_find_ext_capability(struct pci_bus *bus, unsigned int devfn, | ||
635 | int cap); | ||
634 | int pci_find_ht_capability(struct pci_dev *dev, int ht_cap); | 636 | int pci_find_ht_capability(struct pci_dev *dev, int ht_cap); |
635 | int pci_find_next_ht_capability(struct pci_dev *dev, int pos, int ht_cap); | 637 | int pci_find_next_ht_capability(struct pci_dev *dev, int pos, int ht_cap); |
636 | struct pci_bus *pci_find_next_bus(const struct pci_bus *from); | 638 | struct pci_bus *pci_find_next_bus(const struct pci_bus *from); |