numam-dpdk/drivers/bus/vmbus
Thomas Monjalon 391797f042 drivers/bus: move driver assignment to end of probing
The PCI mapping requires to know the PCI driver to use,
even before the probing is done. That's why the PCI driver is
referenced early inside the PCI device structure. See
commit 1d20a073fa ("bus/pci: reference driver structure before mapping")

However the rte_driver does not need to be referenced in rte_device
before the device probing is done.
By moving back this assignment at the end of the device probing,
it becomes possible to make clear the status of a rte_device.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
Tested-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Rosen Xu <rosen.xu@intel.com>
2018-10-17 10:26:59 +02:00
..
linux eal: add bus pointer in device structure 2018-10-11 14:09:24 +02:00
Makefile eal: add bus pointer in device structure 2018-10-11 14:09:24 +02:00
meson.build eal: add bus pointer in device structure 2018-10-11 14:09:24 +02:00
private.h eal: add bus pointer in device structure 2018-10-11 14:09:24 +02:00
rte_bus_vmbus_version.map bus/vmbus: add host latency tuning function 2018-08-28 15:27:39 +02:00
rte_bus_vmbus.h bus/vmbus: add host latency tuning function 2018-08-28 15:27:39 +02:00
rte_vmbus_reg.h bus/vmbus: add Hyper-V virtual bus support 2018-07-13 23:48:07 +02:00
vmbus_bufring.c bus/vmbus: avoid signalling host on read 2018-08-05 11:03:18 +02:00
vmbus_channel.c bus/vmbus: add host latency tuning function 2018-08-28 15:27:39 +02:00
vmbus_common_uio.c bus/vmbus: add Hyper-V virtual bus support 2018-07-13 23:48:07 +02:00
vmbus_common.c drivers/bus: move driver assignment to end of probing 2018-10-17 10:26:59 +02:00