From: Isaku Yamahata Date: Wed, 20 Oct 2010 08:18:50 +0000 (+0900) Subject: pcie: comment on hpev_intx X-Git-Tag: v0.14.0-rc0~500^2^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6da6d29fa63ab7adcc2959355497a44654f3703e;p=thirdparty%2Fqemu.git pcie: comment on hpev_intx document hpev_intx. Signed-off-by: Isaku Yamahata Signed-off-by: Michael S. Tsirkin --- diff --git a/hw/pcie.h b/hw/pcie.h index 68327d8d0d1..2871e270120 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 */