From patchwork Wed Oct 20 08:18:50 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Isaku Yamahata X-Patchwork-Id: 68410 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 2CC78B70A6 for ; Wed, 20 Oct 2010 20:00:09 +1100 (EST) Received: from localhost ([127.0.0.1]:42993 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8UWj-0007sN-8O for incoming@patchwork.ozlabs.org; Wed, 20 Oct 2010 05:00:05 -0400 Received: from [140.186.70.92] (port=43701 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8Tyk-00046T-KE for qemu-devel@nongnu.org; Wed, 20 Oct 2010 04:25:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8Tt2-0000Uz-T7 for qemu-devel@nongnu.org; Wed, 20 Oct 2010 04:19:05 -0400 Received: from mail.valinux.co.jp ([210.128.90.3]:46392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8Tt2-0000UQ-L1 for qemu-devel@nongnu.org; Wed, 20 Oct 2010 04:19:04 -0400 Received: from ps.local.valinux.co.jp (vagw.valinux.co.jp [210.128.90.14]) by mail.valinux.co.jp (Postfix) with SMTP id 7C3C787405; Wed, 20 Oct 2010 17:19:02 +0900 (JST) Received: (nullmailer pid 20043 invoked by uid 1000); Wed, 20 Oct 2010 08:19:01 -0000 From: Isaku Yamahata To: qemu-devel@nongnu.org Date: Wed, 20 Oct 2010 17:18:50 +0900 Message-Id: X-Mailer: git-send-email 1.7.1.1 In-Reply-To: References: In-Reply-To: References: X-Virus-Scanned: clamav-milter 0.95.2 at va-mail.local.valinux.co.jp X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: skandasa@cisco.com, adnan@khaleel.us, wexu2@cisco.com, mst@redhat.com, yamahata@valinux.co.jp, etmartin@cisco.com Subject: [Qemu-devel] [PATCH v6 01/12] pcie: comment on hpev_intx X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org document hpev_intx. Signed-off-by: Isaku Yamahata --- hw/pcie.h | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) 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 */