From patchwork Tue Nov 16 08:26:08 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Isaku Yamahata X-Patchwork-Id: 71374 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 00F33B7131 for ; Tue, 16 Nov 2010 19:45:21 +1100 (EST) Received: from localhost ([127.0.0.1]:53408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIHAD-0001Pa-Km for incoming@patchwork.ozlabs.org; Tue, 16 Nov 2010 03:45:17 -0500 Received: from [140.186.70.92] (port=36616 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIGse-00012E-Hr for qemu-devel@nongnu.org; Tue, 16 Nov 2010 03:27:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIGrp-0006zm-Hf for qemu-devel@nongnu.org; Tue, 16 Nov 2010 03:26:41 -0500 Received: from mail.valinux.co.jp ([210.128.90.3]:34150) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIGrp-0006zB-6l for qemu-devel@nongnu.org; Tue, 16 Nov 2010 03:26:17 -0500 Received: from ps.local.valinux.co.jp (vagw.valinux.co.jp [210.128.90.14]) by mail.valinux.co.jp (Postfix) with SMTP id A65A227E34; Tue, 16 Nov 2010 17:26:13 +0900 (JST) Received: (nullmailer pid 29403 invoked by uid 1000); Tue, 16 Nov 2010 08:26:12 -0000 From: Isaku Yamahata To: qemu-devel@nongnu.org Date: Tue, 16 Nov 2010 17:26:08 +0900 Message-Id: <2d3aa0c52a51d2eae2252bc88e1862750740c05f.1289895735.git.yamahata@valinux.co.jp> 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 v9 4/8] pcie_regs.h: more constants 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 remove unnecessary sizeof. Signed-off-by: Isaku Yamahata --- hw/pcie_regs.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/pcie_regs.h b/hw/pcie_regs.h index 3461a1b..4d123d9 100644 --- a/hw/pcie_regs.h +++ b/hw/pcie_regs.h @@ -94,7 +94,9 @@ #define PCI_ERR_CAP_MHRE 0x00000400 #define PCI_ERR_CAP_TLP 0x00000800 +#define PCI_ERR_HEADER_LOG_SIZE 16 #define PCI_ERR_TLP_PREFIX_LOG 0x38 +#define PCI_ERR_TLP_PREFIX_LOG_SIZE 16 #define PCI_SEC_STATUS_RCV_SYSTEM_ERROR 0x4000