pci: select memory mapping from driver type
pci: select memory mapping from driver type

With the driver type flag in struct rte_pci_dev, we do not need
to always map uio devices with vfio related function when
vfio enabled.

Signed-off-by: Michael Qiu <f0309ca2255ec42822adda7c4b8f366ca4bb5572@intel.com>
Signed-off-by: Tetsuya Mukawa <b347a9f5840345582b30d055e1e99ac6ac7bce3c@igel.co.jp>
Acked-by: Bernard Iremonger <233eeff376ad0c06f66f06c5522ea3c4feb30d3b@intel.com>

phermansson/dpdk,phermansson/dpdk,phermansson/dpdk,phermansson/dpdk