X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fbus%2Fpci%2Fprivate.h;h=4cd9d14ec71a5ada42ca69cb71f8977b736b3db5;hb=48fbc1be82b551e41c58e94de780fdd2ffaaeb78;hp=fadc767236aa78602a8e798222df4f0b2dc88257;hpb=e200535c1ca382c518da810ab484e3f0660d351d;p=dpdk.git diff --git a/drivers/bus/pci/private.h b/drivers/bus/pci/private.h index fadc767236..4cd9d14ec7 100644 --- a/drivers/bus/pci/private.h +++ b/drivers/bus/pci/private.h @@ -7,16 +7,16 @@ #include #include -#include + #include +#include +#include extern struct rte_pci_bus rte_pci_bus; struct rte_pci_driver; struct rte_pci_device; -extern struct rte_pci_bus rte_pci_bus; - /** * Scan the content of the PCI bus, and the devices in the devices * list @@ -68,19 +68,6 @@ void rte_pci_add_device(struct rte_pci_device *pci_dev); void rte_pci_insert_device(struct rte_pci_device *exist_pci_dev, struct rte_pci_device *new_pci_dev); -/** - * Update a pci device object by asking the kernel for the latest information. - * - * This function is private to EAL. - * - * @param addr - * The PCI Bus-Device-Function address to look for - * @return - * - 0 on success. - * - negative on error. - */ -int pci_update_device(const struct rte_pci_addr *addr); - /** * A structure describing a PCI mapping. */