From patchwork Thu May 27 05:40:37 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Isaku Yamahata X-Patchwork-Id: 53690 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 3C560B6ED0 for ; Thu, 27 May 2010 16:12:31 +1000 (EST) Received: from localhost ([127.0.0.1]:34205 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHWEv-0003rb-Bl for incoming@patchwork.ozlabs.org; Thu, 27 May 2010 02:06:45 -0400 Received: from [140.186.70.92] (port=38625 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHW3J-0003f8-PB for qemu-devel@nongnu.org; Thu, 27 May 2010 01:54:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHVst-0003yx-Kh for qemu-devel@nongnu.org; Thu, 27 May 2010 01:44:00 -0400 Received: from mail.valinux.co.jp ([210.128.90.3]:40071) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHVst-0003yl-B6 for qemu-devel@nongnu.org; Thu, 27 May 2010 01:43:59 -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 5BA101867D; Thu, 27 May 2010 14:43:58 +0900 (JST) Received: (nullmailer pid 13268 invoked by uid 1000); Thu, 27 May 2010 05:40:37 -0000 Date: Thu, 27 May 2010 14:40:37 +0900 From: Isaku Yamahata To: qemu-devel@nongnu.org Message-ID: <20100527054037.GF31807@valinux.co.jp> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) 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) Subject: [Qemu-devel] [PATCH] msix: remove duplicated defines. 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 defines which are already defined in pci_regs.h Signed-off-by: Isaku Yamahata --- hw/msix.c | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/hw/msix.c b/hw/msix.c index 2ca0900..1613bb4 100644 --- a/hw/msix.c +++ b/hw/msix.c @@ -15,14 +15,6 @@ #include "msix.h" #include "pci.h" -/* Declaration from linux/pci_regs.h */ -#define PCI_CAP_ID_MSIX 0x11 /* MSI-X */ -#define PCI_MSIX_FLAGS 2 /* Table at lower 11 bits */ -#define PCI_MSIX_FLAGS_QSIZE 0x7FF -#define PCI_MSIX_FLAGS_ENABLE (1 << 15) -#define PCI_MSIX_FLAGS_MASKALL (1 << 14) -#define PCI_MSIX_FLAGS_BIRMASK (7 << 0) - /* MSI-X capability structure */ #define MSIX_TABLE_OFFSET 4 #define MSIX_PBA_OFFSET 8