igb_uio: use existing PCI macros
authorFerruh Yigit <ferruh.yigit@intel.com>
Thu, 10 Sep 2015 16:01:48 +0000 (17:01 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 Nov 2015 22:06:40 +0000 (23:06 +0100)
commit2e6e9e215703f4fea8e774c1c4646fc6a419ee6f
treef991b80740b3c587931d1000302bb182e836a020
parent0c51cc48c282069abe81219d8564acb1ee032ef8
igb_uio: use existing PCI macros

To get pci_dev and vf number from dev, benefit from
existing macros in pci.h

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
[Thomas note: it breaks the old 2.6.33 support]
lib/librte_eal/linuxapp/igb_uio/igb_uio.c