mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
pcie port: define struct PCIEPort/PCIESlot and helper functions
define struct PCIEPort which represents common part of pci express port.(root, upstream and downstream.) add a helper function for pcie port which can be used commonly by root/upstream/downstream port. define struct PCIESlot which represents common part of pcie slot.(root and downstream.) and helper functions for it. helper functions for chassis, slot -> PCIESlot conversion. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
0208def1ca
commit
bc20ba98b1
4 changed files with 170 additions and 1 deletions
|
@ -186,7 +186,7 @@ hw-obj-$(CONFIG_PIIX4) += piix4.o
|
|||
# PCI watchdog devices
|
||||
hw-obj-y += wdt_i6300esb.o
|
||||
|
||||
hw-obj-y += pcie.o
|
||||
hw-obj-y += pcie.o pcie_port.o
|
||||
hw-obj-y += msix.o msi.o
|
||||
|
||||
# PCI network cards
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue