X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fbus%2Fpci%2Fprivate.h;h=367cdd9a65bc011c90783c8eeeb20bacec1b12e5;hb=8c98e3c539625b6dbdf8acb1817b55eae101e537;hp=a205d4d9f0af726bf8574dedfb1536aef8ffb35d;hpb=66d3724b2c87e6fcdf3851ca191683696a91b901;p=dpdk.git diff --git a/drivers/bus/pci/private.h b/drivers/bus/pci/private.h index a205d4d9f0..367cdd9a65 100644 --- a/drivers/bus/pci/private.h +++ b/drivers/bus/pci/private.h @@ -17,16 +17,6 @@ struct rte_pci_device; extern struct rte_pci_bus rte_pci_bus; -/** - * Probe the PCI bus - * - * @return - * - 0 on success. - * - !0 on error. - */ -int -rte_pci_probe(void); - /** * Scan the content of the PCI bus, and the devices in the devices * list @@ -42,6 +32,17 @@ int rte_pci_scan(void); void pci_name_set(struct rte_pci_device *dev); +/** + * Validate whether a device with given PCI address should be ignored or not. + * + * @param pci_addr + * PCI address of device to be validated + * @return + * true: if device is to be ignored, + * false: if device is to be scanned, + */ +bool rte_pci_ignore_device(const struct rte_pci_addr *pci_addr); + /** * Add a PCI device to the PCI Bus (append to PCI Device list). This function * also updates the bus references of the PCI Device (and the generic device