pci: ignore devices already managed in Linux when mapping x86 ioport
authorHuawei Xie <huawei.xie@intel.com>
Tue, 8 Mar 2016 15:33:42 +0000 (23:33 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 9 Mar 2016 23:36:51 +0000 (00:36 +0100)
commitb8eb345378bdefc4c976eaaf5abb221e0aca3460
tree9a4f33ab7fa4d0ba46103999425bbc7164ef8d22
parentbd80d4730aca2cd7cb6ae82e7f6f2447c65837bc
pci: ignore devices already managed in Linux when mapping x86 ioport

call pci_ioport_map (on x86) only if the pci device is not bound
to a kernel driver.

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Acked-by: David Marchand <david.marchand@6wind.com>
lib/librte_eal/linuxapp/eal/eal_pci.c