X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_eal%2Fcommon%2Finclude%2Frte_pci.h;h=e3ca3fc7e9e675b80154bb6dc11d473268564197;hb=d800f55ff06ebb117bc4ba81d78cbce2838585c3;hp=e96f389f937069b0917667dc151966a6735c946c;hpb=60011cb25a57c49d98dc67030ddcdf912284dda8;p=dpdk.git diff --git a/lib/librte_eal/common/include/rte_pci.h b/lib/librte_eal/common/include/rte_pci.h index e96f389f93..e3ca3fc7e9 100644 --- a/lib/librte_eal/common/include/rte_pci.h +++ b/lib/librte_eal/common/include/rte_pci.h @@ -416,7 +416,7 @@ int rte_eal_pci_probe_one(const struct rte_pci_addr *addr); * Close the single PCI device. * * Scan the content of the PCI bus, and find the pci device specified by pci - * address, then call the close() function for registered driver that has a + * address, then call the devuninit() function for registered driver that has a * matching entry in its id_table for discovered device. * * @param addr @@ -425,7 +425,9 @@ int rte_eal_pci_probe_one(const struct rte_pci_addr *addr); * - 0 on success. * - Negative on error. */ -int rte_eal_pci_close_one(const struct rte_pci_addr *addr); +int rte_eal_pci_detach(const struct rte_pci_addr *addr); +int __attribute__ ((deprecated)) +rte_eal_pci_close_one(const struct rte_pci_addr *addr); /** * Dump the content of the PCI bus.