From patchwork Tue Nov 2 09:32:47 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Isaku Yamahata X-Patchwork-Id: 69888 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 32F5BB6F11 for ; Wed, 3 Nov 2010 01:35:17 +1100 (EST) Received: from localhost ([127.0.0.1]:51636 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDHuc-0001Po-A3 for incoming@patchwork.ozlabs.org; Tue, 02 Nov 2010 10:32:34 -0400 Received: from [140.186.70.92] (port=34863 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDH6G-0003vR-3j for qemu-devel@nongnu.org; Tue, 02 Nov 2010 09:40:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDDEg-0001Co-Qs for qemu-devel@nongnu.org; Tue, 02 Nov 2010 05:33:00 -0400 Received: from mail.valinux.co.jp ([210.128.90.3]:40509) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDDEg-0001Bo-Ed for qemu-devel@nongnu.org; Tue, 02 Nov 2010 05:32:58 -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 C36238743B; Tue, 2 Nov 2010 18:32:52 +0900 (JST) Received: (nullmailer pid 25997 invoked by uid 1000); Tue, 02 Nov 2010 09:32:52 -0000 From: Isaku Yamahata To: qemu-devel@nongnu.org Date: Tue, 2 Nov 2010 18:32:47 +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 v7 1/6] 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