aboutsummaryrefslogtreecommitdiffstats
path: root/hw/pcie.h
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2010-10-20 17:18:50 +0900
committerMichael S. Tsirkin <mst@redhat.com>2010-10-20 12:04:36 +0200
commit6da6d29fa63ab7adcc2959355497a44654f3703e (patch)
tree096395a1f23a00804a328b46fd646bdde22d6740 /hw/pcie.h
parent0428527c621c3edfd258b4d34fc178ef5df41071 (diff)
pcie: comment on hpev_intx
document hpev_intx. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pcie.h')
-rw-r--r--hw/pcie.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/hw/pcie.h b/hw/pcie.h
index 68327d8d0..2871e2701 100644
--- 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 */