pci: split function parsing resources in sysfs
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 17 May 2016 09:59:49 +0000 (11:59 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 15 Jun 2016 17:06:27 +0000 (19:06 +0200)
commit781b587cc4958a411bca3c12f3a33f1d89a5ac6c
treefd72456a447965b4ffd38638ac9b25424e36e453
parente314af1578faa4b2a49500be18434a5f7c07182b
pci: split function parsing resources in sysfs

Split pci_parse_sysfs_resource() and introduce
pci_parse_one_sysfs_resource() that parses one line of sysfs resource
file.

This new function will be exported and used in next commits when
mapping the ioports resources.

No functional change.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_eal/linuxapp/eal/eal_pci.c