pci: reference driver structure for each device
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Mon, 30 Jul 2012 09:47:28 +0000 (09:47 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 25 Jul 2013 13:23:28 +0000 (15:23 +0200)
commit5e9f6d1340ffa33d2c70c66e041f5efdaeb14feb
tree002d44cb07f8650c70156aea081587a62c179cc3
parentfb98e84fc1ad71996903ef573d3bd02083762520
pci: reference driver structure for each device

Add a driver reference (if available) to every PCI devices,
even when blacklisted. This information is made available in the global
device_list variable so users know which network devices are managed or
ignored.

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Ivan Boule <ivan.boule@6wind.com>
Acked-by: Damien Millescamps <damien.millescamps@6wind.com>
lib/librte_eal/common/eal_common_pci.c
lib/librte_eal/common/include/rte_pci.h
lib/librte_eal/linuxapp/eal/eal_pci.c