[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 8/8] pci_bus: update comment
From: |
Michael S. Tsirkin |
Subject: |
[Qemu-devel] [PATCH 8/8] pci_bus: update comment |
Date: |
Wed, 12 Dec 2012 15:14:36 +0200 |
Don't ask everyone to desist from including this header,
simply recommend using accessors.
Signed-off-by: Michael S. Tsirkin <address@hidden>
---
hw/pci/pci_bus.h | 10 +++-------
1 file 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"
--
MST
- [Qemu-devel] [PATCH 0/8] pci core reorg, Michael S. Tsirkin, 2012/12/12
- [Qemu-devel] [PATCH 2/8] MAINTAINERS: add hw/pci/ to list of PCI files, Michael S. Tsirkin, 2012/12/12
- [Qemu-devel] [PATCH 1/8] pci: prepare makefiles for pci code reorganization, Michael S. Tsirkin, 2012/12/12
- [Qemu-devel] [PATCH 6/8] Revert "pci: prepare makefiles for pci code reorganization", Michael S. Tsirkin, 2012/12/12
- [Qemu-devel] [PATCH 4/8] pci: update all users to look in pci/, Michael S. Tsirkin, 2012/12/12
- [Qemu-devel] [PATCH 8/8] pci_bus: update comment,
Michael S. Tsirkin <=
- [Qemu-devel] [PATCH 5/8] pci: make external dependencies explicit, Michael S. Tsirkin, 2012/12/12
- [Qemu-devel] [PATCH 7/8] pci: rename pci_internals.h pci_bus.h, Michael S. Tsirkin, 2012/12/12
- [Qemu-devel] [PATCH 3/8] pci: move pci core code to hw/pci, Michael S. Tsirkin, 2012/12/12
- Re: [Qemu-devel] [PATCH 0/8] pci core reorg, Anthony Liguori, 2012/12/12