[dpdk-dev] [PATCH 1/2] pci: split the function providing uio device and mappings

2014-01-28 Thread Thomas Monjalon
24/01/2014 16:31, Olivier Matz: > Add a new function pci_get_uio_dev() that parses /sys/bus/pci/devices > to get the uio device associated with a PCI device. This patch just > moves some code that was in pci_uio_map_resource() in the new function > without any functional change. > > Thanks to this

[dpdk-dev] [PATCH 1/2] pci: split the function providing uio device and mappings

2014-01-24 Thread Olivier Matz
Add a new function pci_get_uio_dev() that parses /sys/bus/pci/devices to get the uio device associated with a PCI device. This patch just moves some code that was in pci_uio_map_resource() in the new function without any functional change. Thanks to this change, the next commit will be easier to u