bus: add scanning
authorShreyansh Jain <shreyansh.jain@nxp.com>
Wed, 18 Jan 2017 14:05:21 +0000 (19:35 +0530)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 19 Jan 2017 03:58:12 +0000 (04:58 +0100)
commitf44abbc12fa00a603b50c401828c4d03f74d4f76
tree0623af12bdadd841718ac7bd5113284287a8c282
parenta97725791eec933a07f160e3632975f0cc836ab4
bus: add scanning

Scan for bus discovers the devices available on the bus and adds them
to a bus specific device list. Each bus mandatorily implements this
method.

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/bsdapp/eal/eal.c
lib/librte_eal/bsdapp/eal/rte_eal_version.map
lib/librte_eal/common/eal_common_bus.c
lib/librte_eal/common/include/rte_bus.h
lib/librte_eal/linuxapp/eal/eal.c
lib/librte_eal/linuxapp/eal/rte_eal_version.map