From patchwork Sun Jun 7 11:15:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 6561181 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D3E58C0020 for ; Sun, 7 Jun 2015 11:15:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D02E720502 for ; Sun, 7 Jun 2015 11:15:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E22D4205CD for ; Sun, 7 Jun 2015 11:15:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753067AbbFGLPs (ORCPT ); Sun, 7 Jun 2015 07:15:48 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:34068 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752767AbbFGLPr (ORCPT ); Sun, 7 Jun 2015 07:15:47 -0400 Received: by wibut5 with SMTP id ut5so58982787wib.1 for ; Sun, 07 Jun 2015 04:15:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=oubc5ooZneA0YqB9Zxh8SMH9c5IE5zro+rltBWGkLDA=; b=FcOWtiMT7TqJ00yHbgKHpzVpc1hcDCwBT2OZSD+MSgraZRCARu16K/sF79ALCgqbmF 0f67wLCuaeNZGkrQTS7mJsXFkvboaybnysSz1Ms1/a0BOysCoXVFzsQgOMkVsha/VU9T /PXGAl74ht89M2v5ZaStV/kNxSTyZvsjfLOx+2ySs9/56B8YYy8PZVJXOh2yPFJ85qg+ /eXPzfeyMSK0VpWf4tKJ/MG3jOdxtMn4sXonJnAU43a3aOFv6WT/x6PjLcK3tVAI/8R0 PQEYrCY1DCie4Mu6Ipwaj4lIyjzpyXAfiXw6Hj1g8xFaFe/ulO9o1iizIGmpXpJWoMba KGOw== X-Received: by 10.194.192.72 with SMTP id he8mr22786345wjc.11.1433675746635; Sun, 07 Jun 2015 04:15:46 -0700 (PDT) Received: from linux-tdhb.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by mx.google.com with ESMTPSA id wx9sm19029963wjb.6.2015.06.07.04.15.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Jun 2015 04:15:45 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Kalle Valo , linux-wireless@vger.kernel.org Cc: Hauke Mehrtens , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Subject: [PATCH 2/2] bcma: lower dependency of BCMA_DRIVER_PCI_HOSTMODE Date: Sun, 7 Jun 2015 13:15:31 +0200 Message-Id: <1433675731-16328-2-git-send-email-zajec5@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1433675731-16328-1-git-send-email-zajec5@gmail.com> References: <1433675731-16328-1-git-send-email-zajec5@gmail.com> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This extension of BCMA_DRIVER_PCI has no reason to depend on BCMA_HOST_PCI. User may just want to have PCI device attached to SoC registered without enabling any extra client mode code. This can be useful when having non-bcma PCI device attached or when using other PCI driver. Signed-off-by: Rafa? Mi?ecki --- drivers/bcma/Kconfig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/bcma/Kconfig b/drivers/bcma/Kconfig index fc6ffcf..be5fffb 100644 --- a/drivers/bcma/Kconfig +++ b/drivers/bcma/Kconfig @@ -29,12 +29,6 @@ config BCMA_HOST_PCI select BCMA_DRIVER_PCI default y -config BCMA_DRIVER_PCI_HOSTMODE - bool "Driver for PCI core working in hostmode" - depends on BCMA && MIPS && BCMA_HOST_PCI - help - PCI core hostmode operation (external PCI bus). - config BCMA_HOST_SOC bool "Support for BCMA in a SoC" depends on BCMA @@ -61,6 +55,12 @@ config BCMA_DRIVER_PCI This driver is also prerequisite for a hostmode PCIe core support. +config BCMA_DRIVER_PCI_HOSTMODE + bool "Driver for PCI core working in hostmode" + depends on BCMA && MIPS && BCMA_DRIVER_PCI + help + PCI core hostmode operation (external PCI bus). + config BCMA_DRIVER_MIPS bool "BCMA Broadcom MIPS core driver" depends on BCMA && MIPS