]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/bsdapp/eal/eal_pci.c
pci: rename RTE_PCI_DRV_NEED_IGB_UIO to RTE_PCI_DRV_NEED_MAPPING
[dpdk.git] / lib / librte_eal / bsdapp / eal / eal_pci.c
index 03200f3c43793c2c9ed136ec0b2033e13fa49082..dad541850718219ba3c15480e1ae7af35e31c0f1 100644 (file)
@@ -475,7 +475,7 @@ rte_eal_pci_probe_one_driver(struct rte_pci_driver *dr, struct rte_pci_device *d
                        return 0;
                }
 
-               if (dr->drv_flags & RTE_PCI_DRV_NEED_IGB_UIO) {
+               if (dr->drv_flags & RTE_PCI_DRV_NEED_MAPPING) {
                        /* map resources for devices that use igb_uio */
                        ret = pci_uio_map_resource(dev);
                        if (ret != 0)