pci: sandbox: Support dynamically binding device driver
At present all emulated sandbox pci devices must be present in the device tree in order to be used. The real world pci uclass driver supports pci device driver matching, and we should add such support on sandbox too. Signed-off-by:Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
Showing
- doc/driver-model/pci-info.txt 28 additions, 0 deletionsdoc/driver-model/pci-info.txt
- drivers/pci/pci-emul-uclass.c 10 additions, 4 deletionsdrivers/pci/pci-emul-uclass.c
- drivers/pci/pci_sandbox.c 72 additions, 6 deletionsdrivers/pci/pci_sandbox.c
- include/pci.h 2 additions, 1 deletioninclude/pci.h
Loading
Please register or sign in to comment