pci: fix uio driver dependency
authorDamien Millescamps <damien.millescamps@6wind.com>
Mon, 30 Jul 2012 09:47:27 +0000 (11:47 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 25 Jul 2013 13:23:28 +0000 (15:23 +0200)
commitacabcb6c3fe092bd1037d159ca00124c7100f19e
treef4aa072a7769c73615d205061f193eabfbb3eb09
parent5e9f6d1340ffa33d2c70c66e041f5efdaeb14feb
pci: fix uio driver dependency

Allow to run without igb_uio if probed devices don't require it.

The condition for exiting with an error is:
 - Tested driver is needed by a probed device
 AND
 - Tested driver needs igb_uio

Signed-off-by: Damien Millescamps <damien.millescamps@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
lib/librte_eal/linuxapp/eal/eal_pci.c