bus/pci: use given name as generic name
[dpdk.git] / lib / librte_eal / common / eal_private.h
index 0836339..597d82e 100644 (file)
@@ -112,6 +112,11 @@ int rte_eal_log_init(const char *id, int facility);
 struct rte_pci_driver;
 struct rte_pci_device;
 
+/**
+ * Find the name of a PCI device.
+ */
+void pci_name_set(struct rte_pci_device *dev);
+
 /**
  * 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