]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/linuxapp/eal/eal_pci.c
pci: rename RTE_PCI_DRV_NEED_IGB_UIO to RTE_PCI_DRV_NEED_MAPPING
[dpdk.git] / lib / librte_eal / linuxapp / eal / eal_pci.c
index 49b2a68c192179f9909a9cbfb7b3464c524fd8c1..c7cd38e71d22f4baa4cea6db0cdb14b8ed80e33d 100644 (file)
@@ -435,7 +435,7 @@ rte_eal_pci_probe_one_driver(struct rte_pci_driver *dr, struct rte_pci_device *d
                        return 1;
                }
 
-               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)