eal: use new hotplug API in attach
authorJan Blunck <jblunck@infradead.org>
Fri, 30 Jun 2017 18:19:43 +0000 (20:19 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 3 Jul 2017 23:22:19 +0000 (01:22 +0200)
commit0bba9e60504851a1c32bd799f8bf97c11becf7d5
treeed50ad9c9b97981a561b730d6eecca8574b22cb3
parentcbb4c648c5dfff6fced96c5c76166a3e0e048fa4
eal: use new hotplug API in attach

Using the new hotplug API allows attach to be backwards compatible while
decoupling it from the concrete bus implementations.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
lib/librte_eal/common/eal_common_dev.c