Forráskód Böngészése

pci: rename pci_internals.h pci_bus.h

There are lots of external users of pci_internals.h,
apparently making it an internal interface only didn't
work out. Let's stop pretending it's an internal header.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Michael S. Tsirkin 12 éve
szülő
commit
06aac7bd50
13 módosított fájl, 12 hozzáadás és 12 törlés
  1. 1 1
      hw/apb_pci.c
  2. 1 1
      hw/dec_pci.c
  3. 1 1
      hw/ich9.h
  4. 1 1
      hw/lpc_ich9.c
  5. 1 1
      hw/pci/pci.c
  6. 1 1
      hw/pci/pci_bridge.c
  7. 0 0
      hw/pci/pci_bus.h
  8. 1 1
      hw/pci/pcie.c
  9. 1 1
      hw/pci/pcie_aer.c
  10. 1 1
      hw/pci/pcie_port.h
  11. 1 1
      hw/pci/shpc.c
  12. 1 1
      hw/pci_bridge_dev.c
  13. 1 1
      hw/spapr_pci.c

+ 1 - 1
hw/apb_pci.c

@@ -30,7 +30,7 @@
 #include "pci/pci.h"
 #include "pci/pci.h"
 #include "pci/pci_host.h"
 #include "pci/pci_host.h"
 #include "pci/pci_bridge.h"
 #include "pci/pci_bridge.h"
-#include "pci/pci_internals.h"
+#include "pci/pci_bus.h"
 #include "apb_pci.h"
 #include "apb_pci.h"
 #include "sysemu.h"
 #include "sysemu.h"
 #include "exec-memory.h"
 #include "exec-memory.h"

+ 1 - 1
hw/dec_pci.c

@@ -28,7 +28,7 @@
 #include "pci/pci.h"
 #include "pci/pci.h"
 #include "pci/pci_host.h"
 #include "pci/pci_host.h"
 #include "pci/pci_bridge.h"
 #include "pci/pci_bridge.h"
-#include "pci/pci_internals.h"
+#include "pci/pci_bus.h"
 
 
 /* debug DEC */
 /* debug DEC */
 //#define DEBUG_DEC
 //#define DEBUG_DEC

+ 1 - 1
hw/ich9.h

@@ -14,7 +14,7 @@
 #include "acpi.h"
 #include "acpi.h"
 #include "acpi_ich9.h"
 #include "acpi_ich9.h"
 #include "pam.h"
 #include "pam.h"
-#include "pci/pci_internals.h"
+#include "pci/pci_bus.h"
 
 
 void ich9_lpc_set_irq(void *opaque, int irq_num, int level);
 void ich9_lpc_set_irq(void *opaque, int irq_num, int level);
 int ich9_lpc_map_irq(PCIDevice *pci_dev, int intx);
 int ich9_lpc_map_irq(PCIDevice *pci_dev, int intx);

+ 1 - 1
hw/lpc_ich9.c

@@ -42,7 +42,7 @@
 #include "acpi.h"
 #include "acpi.h"
 #include "acpi_ich9.h"
 #include "acpi_ich9.h"
 #include "pam.h"
 #include "pam.h"
-#include "pci/pci_internals.h"
+#include "pci/pci_bus.h"
 #include "exec-memory.h"
 #include "exec-memory.h"
 #include "sysemu.h"
 #include "sysemu.h"
 
 

+ 1 - 1
hw/pci/pci.c

@@ -24,7 +24,7 @@
 #include "hw/hw.h"
 #include "hw/hw.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_bridge.h"
 #include "hw/pci/pci_bridge.h"
-#include "hw/pci/pci_internals.h"
+#include "hw/pci/pci_bus.h"
 #include "monitor.h"
 #include "monitor.h"
 #include "net.h"
 #include "net.h"
 #include "sysemu.h"
 #include "sysemu.h"

+ 1 - 1
hw/pci/pci_bridge.c

@@ -30,7 +30,7 @@
  */
  */
 
 
 #include "hw/pci/pci_bridge.h"
 #include "hw/pci/pci_bridge.h"
-#include "hw/pci/pci_internals.h"
+#include "hw/pci/pci_bus.h"
 #include "range.h"
 #include "range.h"
 
 
 /* PCI bridge subsystem vendor ID helper functions */
 /* PCI bridge subsystem vendor ID helper functions */

+ 0 - 0
hw/pci/pci_internals.h → hw/pci/pci_bus.h


+ 1 - 1
hw/pci/pcie.c

@@ -23,7 +23,7 @@
 #include "hw/pci/pcie.h"
 #include "hw/pci/pcie.h"
 #include "hw/pci/msix.h"
 #include "hw/pci/msix.h"
 #include "hw/pci/msi.h"
 #include "hw/pci/msi.h"
-#include "hw/pci/pci_internals.h"
+#include "hw/pci/pci_bus.h"
 #include "hw/pci/pcie_regs.h"
 #include "hw/pci/pcie_regs.h"
 #include "range.h"
 #include "range.h"
 
 

+ 1 - 1
hw/pci/pcie_aer.c

@@ -25,7 +25,7 @@
 #include "hw/pci/pcie.h"
 #include "hw/pci/pcie.h"
 #include "hw/pci/msix.h"
 #include "hw/pci/msix.h"
 #include "hw/pci/msi.h"
 #include "hw/pci/msi.h"
-#include "hw/pci/pci_internals.h"
+#include "hw/pci/pci_bus.h"
 #include "hw/pci/pcie_regs.h"
 #include "hw/pci/pcie_regs.h"
 
 
 //#define DEBUG_PCIE
 //#define DEBUG_PCIE

+ 1 - 1
hw/pci/pcie_port.h

@@ -22,7 +22,7 @@
 #define QEMU_PCIE_PORT_H
 #define QEMU_PCIE_PORT_H
 
 
 #include "hw/pci/pci_bridge.h"
 #include "hw/pci/pci_bridge.h"
-#include "hw/pci/pci_internals.h"
+#include "hw/pci/pci_bus.h"
 
 
 struct PCIEPort {
 struct PCIEPort {
     PCIBridge   br;
     PCIBridge   br;

+ 1 - 1
hw/pci/shpc.c

@@ -4,7 +4,7 @@
 #include "range.h"
 #include "range.h"
 #include "hw/pci/shpc.h"
 #include "hw/pci/shpc.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci.h"
-#include "hw/pci/pci_internals.h"
+#include "hw/pci/pci_bus.h"
 #include "hw/pci/msi.h"
 #include "hw/pci/msi.h"
 
 
 /* TODO: model power only and disabled slot states. */
 /* TODO: model power only and disabled slot states. */

+ 1 - 1
hw/pci_bridge_dev.c

@@ -25,7 +25,7 @@
 #include "pci/shpc.h"
 #include "pci/shpc.h"
 #include "pci/slotid_cap.h"
 #include "pci/slotid_cap.h"
 #include "memory.h"
 #include "memory.h"
-#include "pci/pci_internals.h"
+#include "pci/pci_bus.h"
 
 
 #define REDHAT_PCI_VENDOR_ID 0x1b36
 #define REDHAT_PCI_VENDOR_ID 0x1b36
 #define PCI_BRIDGE_DEV_VENDOR_ID REDHAT_PCI_VENDOR_ID
 #define PCI_BRIDGE_DEV_VENDOR_ID REDHAT_PCI_VENDOR_ID

+ 1 - 1
hw/spapr_pci.c

@@ -33,7 +33,7 @@
 #include <libfdt.h>
 #include <libfdt.h>
 #include "trace.h"
 #include "trace.h"
 
 
-#include "hw/pci/pci_internals.h"
+#include "hw/pci/pci_bus.h"
 
 
 /* Copied from the kernel arch/powerpc/platforms/pseries/msi.c */
 /* Copied from the kernel arch/powerpc/platforms/pseries/msi.c */
 #define RTAS_QUERY_FN           0
 #define RTAS_QUERY_FN           0