diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2012-12-12 15:04:09 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2012-12-17 13:02:28 +0200 |
commit | 952deab6cff5d6d81ff7a63955e958894c07177c (patch) | |
tree | 7ac970fe9e0dd2fd43390ab6a51852e89628e4f9 /hw | |
parent | 06aac7bd50cd934f416fe355633c045fee832905 (diff) | |
download | qemu-952deab6cff5d6d81ff7a63955e958894c07177c.zip qemu-952deab6cff5d6d81ff7a63955e958894c07177c.tar.gz qemu-952deab6cff5d6d81ff7a63955e958894c07177c.tar.bz2 |
pci_bus: update comment
Don't ask everyone to desist from including this header,
simply recommend using accessors.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/pci/pci_bus.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/hw/pci/pci_bus.h b/hw/pci/pci_bus.h index 21d0ce6..8217f61 100644 --- a/hw/pci/pci_bus.h +++ b/hw/pci/pci_bus.h @@ -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" |