From patchwork Mon Nov 15 07:30:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Isaku Yamahata X-Patchwork-Id: 71196 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 27A1DB710A for ; Mon, 15 Nov 2010 18:48:25 +1100 (EST) Received: from localhost ([127.0.0.1]:34914 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHtnU-0005hK-5y for incoming@patchwork.ozlabs.org; Mon, 15 Nov 2010 02:48:16 -0500 Received: from [140.186.70.92] (port=51252 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHtWk-0003fZ-Qc for qemu-devel@nongnu.org; Mon, 15 Nov 2010 02:31:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PHtWg-00027m-4U for qemu-devel@nongnu.org; Mon, 15 Nov 2010 02:30:58 -0500 Received: from mail.valinux.co.jp ([210.128.90.3]:48041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PHtWf-00027H-Rp for qemu-devel@nongnu.org; Mon, 15 Nov 2010 02:30:54 -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 007108749F; Mon, 15 Nov 2010 16:30:49 +0900 (JST) Received: (nullmailer pid 10369 invoked by uid 1000); Mon, 15 Nov 2010 07:30:47 -0000 From: Isaku Yamahata To: qemu-devel@nongnu.org Date: Mon, 15 Nov 2010 16:30:41 +0900 Message-Id: <1d4fb426f712dddd6b422fb91c5771f7527d4982.1289805831.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 v8 05/11] 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