Patchwork [v6,01/12] pcie: comment on hpev_intx

login
register
mail settings
Submitter Isaku Yamahata
Date Oct. 20, 2010, 8:18 a.m.
Message ID <a6624b2cbbb0930300fd291e5f895e7e2d5fb168.1287562197.git.yamahata@valinux.co.jp>
Download mbox | patch
Permalink /patch/68410/
State New
Headers show

Comments

Isaku Yamahata - Oct. 20, 2010, 8:18 a.m.
document hpev_intx.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
---
 hw/pcie.h |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

Patch

diff --git a/hw/pcie.h b/hw/pcie.h
index 68327d8..2871e27 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 */