From 4d8510cdcca0a6b160bb8dc3a254ab0baacb10f6 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 3 Feb 2016 01:28:20 -0500 Subject: pci: Split low-level pci code from higher-level 'struct pci_device' code Split pci.c into pci.c and pcidevice.c. The low-level code that interacts directly with the PCI devices remains in pci.c, while functions dealing with the higher level pci_device cache move to pcidevice.c. Only pci.c is needed in 16bit mode. Signed-off-by: Kevin O'Connor --- src/hw/virtio-scsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hw/virtio-scsi.c') diff --git a/src/hw/virtio-scsi.c b/src/hw/virtio-scsi.c index f7f01cda..322d4691 100644 --- a/src/hw/virtio-scsi.c +++ b/src/hw/virtio-scsi.c @@ -13,7 +13,7 @@ #include "config.h" // CONFIG_* #include "malloc.h" // free #include "output.h" // dprintf -#include "pci.h" // foreachpci +#include "pcidevice.h" // foreachpci #include "pci_ids.h" // PCI_DEVICE_ID_VIRTIO_BLK #include "pci_regs.h" // PCI_VENDOR_ID #include "std/disk.h" // DISK_RET_SUCCESS -- cgit