From patchwork Thu Jul 26 19:55:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 1244661 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 6CAD73FDCA for ; Thu, 26 Jul 2012 20:06:06 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SuUDe-0004Bf-QU; Thu, 26 Jul 2012 19:59:34 +0000 Received: from moutng.kundenserver.de ([212.227.17.10]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SuU9j-00043S-Cr for linux-arm-kernel@lists.infradead.org; Thu, 26 Jul 2012 19:55:32 +0000 Received: from mailbox.adnet.avionic-design.de (mailbox.avionic-design.de [109.75.18.3]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0LdPHS-1TcrVk0tBS-00ikb9; Thu, 26 Jul 2012 21:55:18 +0200 Received: from localhost (localhost [127.0.0.1]) by mailbox.adnet.avionic-design.de (Postfix) with ESMTP id 93F372A282EA; Thu, 26 Jul 2012 21:55:17 +0200 (CEST) X-Virus-Scanned: amavisd-new at avionic-design.de Received: from mailbox.adnet.avionic-design.de ([127.0.0.1]) by localhost (mailbox.avionic-design.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SiuHuy8GiWDt; Thu, 26 Jul 2012 21:55:16 +0200 (CEST) Received: from localhost (avionic-0098.adnet.avionic-design.de [172.20.31.233]) (Authenticated sender: thierry.reding) by mailbox.adnet.avionic-design.de (Postfix) with ESMTPA id 80E552A282E7; Thu, 26 Jul 2012 21:55:16 +0200 (CEST) From: Thierry Reding To: linux-tegra@vger.kernel.org Subject: [PATCH v3 05/10] resource: add PCI configuration space support Date: Thu, 26 Jul 2012 21:55:07 +0200 Message-Id: <1343332512-28762-6-git-send-email-thierry.reding@avionic-design.de> X-Mailer: git-send-email 1.7.11.2 In-Reply-To: <1343332512-28762-1-git-send-email-thierry.reding@avionic-design.de> References: <1343332512-28762-1-git-send-email-thierry.reding@avionic-design.de> X-Provags-ID: V02:K0:et64FXxMTqAMjTdy6JGwFiDZMN+5ZD9ZqB+NixyLH5B 46UJXoN2R2AWPX1kHMu/sOHBhcJPF6dZpgFUxrEEOhdTb7CdNX j6yDc3OA6+nWCLXM1mO2HE513OwkW8mJL1XD9HDbEPPFqJfAui ZUyEbbqlUBPLtKfwLMuMqu3pCwFxo/w2rzoM4vUlqAXD/lAebE BEUgMPCAdjFPCITiuMwt7cLZKqF+zZravR1I2AIagxTBOHNUGG OBL6l6uUJcKvpGREggh83O13TvQ5iMkh/hR3FseRIGXyc/ydEU 1EJ+ik8gsDCJSMVukmoZUdD/ap/NcRUUYodLIQLxbBMkyP86J/ 187Y+b9hhjCZ/ZXdbIQ8EXdVuIab33jUzLiYCfUoCfZ7ce/Ia+ BYje/p1/4dfhHvMr1DdKUraoNrCAsbipcvrBwQA7uEOfQTXCHr uwgnP X-Spam-Note: CRM114 invocation failed X-Spam-Note: SpamAssassin invocation failed Cc: Mitch Bradley , Russell King , Arnd Bergmann , Stephen Warren , linux-pci@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, Rob Herring , Grant Likely , Olof Johansson , Colin Cross , Bjorn Helgaas , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This commit adds a new flag that allows marking resources as PCI configuration space. Signed-off-by: Thierry Reding --- Changes in v3: - new patch include/linux/ioport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/ioport.h b/include/linux/ioport.h index 589e0e7..3314843 100644 --- a/include/linux/ioport.h +++ b/include/linux/ioport.h @@ -102,7 +102,7 @@ struct resource { /* PCI control bits. Shares IORESOURCE_BITS with above PCI ROM. */ #define IORESOURCE_PCI_FIXED (1<<4) /* Do not move resource */ - +#define IORESOURCE_PCI_CS (1<<5) /* PCI configuration space */ /* helpers to define resources */ #define DEFINE_RES_NAMED(_start, _size, _name, _flags) \