pci_bus: update comment
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 12 Dec 2012 13:04:09 +0000 (15:04 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 17 Dec 2012 11:02:28 +0000 (13:02 +0200)
Don't ask everyone to desist from including this header,
simply recommend using accessors.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pci_bus.h

index 21d0ce6973e05d67a1bbf604516188a52c4e18a8..8217f61969851701ec3d5c841fa87b95f1db5cd2 100644 (file)
@@ -2,14 +2,10 @@
 #define QEMU_PCI_INTERNALS_H
 
 /*
- * This header files is private to pci.c and pci_bridge.c
- * So following structures are opaque to others and shouldn't be
- * accessed.
+ * PCI Bus and Bridge datastructures.
  *
- * For pci-to-pci bridge needs to include this header file to embed
- * PCIBridge in its structure or to get sizeof(PCIBridge),
- * However, they shouldn't access those following members directly.
- * Use accessor function in pci.h, pci_bridge.h
+ * Do not access the following members directly;
+ * use accessor functions in pci.h, pci_bridge.h
  */
 
 #define TYPE_PCI_BUS "PCI"