pcie: comment on hpev_intx
authorIsaku Yamahata <yamahata@valinux.co.jp>
Wed, 20 Oct 2010 08:18:50 +0000 (17:18 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 20 Oct 2010 10:04:36 +0000 (12:04 +0200)
document hpev_intx.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pcie.h

index 68327d8..2871e27 100644 (file)
--- a/hw/pcie.h
+++ b/hw/pcie.h
@@ -65,7 +65,15 @@ struct PCIExpressDevice {
     /* TODO FLR */
 
     /* SLOT */
-    unsigned int hpev_intx;     /* INTx for hot plug event */
+    unsigned int hpev_intx;     /* INTx for hot plug event (0-3:INT[A-D]#)
+                                 * default is 0 = INTA#
+                                 * If the chip wants to use other interrupt
+                                 * line, initialize this member with the
+                                 * desired number.
+                                 * If the chip dynamically changes this member,
+                                 * also initialize it when loaded as
+                                 * appropreately.
+                                 */
 };
 
 /* PCI express capability helper functions */