From patchwork Wed Mar 26 16:59:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 3894711 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 889D29F2B6 for ; Wed, 26 Mar 2014 17:05:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 903692022F for ; Wed, 26 Mar 2014 17:05:01 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F10692022A for ; Wed, 26 Mar 2014 17:04:59 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WSrG0-0008OR-Lk; Wed, 26 Mar 2014 17:04:52 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WSrB8-00064Q-M2; Wed, 26 Mar 2014 16:59:50 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WSrB5-00062E-68 for linux-arm-kernel@lists.infradead.org; Wed, 26 Mar 2014 16:59:48 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N31001WDZ70JIC0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 27 Mar 2014 01:59:24 +0900 (KST) X-AuditID: cbfee61b-b7f456d000006dfd-53-5333076cb193 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 34.48.28157.C6703335; Thu, 27 Mar 2014 01:59:24 +0900 (KST) Received: from amdc1032.localnet ([106.116.147.136]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N3100A47Z6XFM20@mmp2.samsung.com>; Thu, 27 Mar 2014 01:59:23 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Tejun Heo Subject: [PATCH v2] ata: fix Marvell SATA driver dependencies Date: Wed, 26 Mar 2014 17:59:03 +0100 Message-id: <3641258.OaO7lhnDYy@amdc1032> User-Agent: KMail/4.8.4 (Linux/3.2.0-54-generic-pae; KDE/4.8.5; i686; ; ) MIME-version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrALMWRmVeSWpSXmKPExsVy+t9jQd0cduNgg2vzOS3O3z3EbLGp7S2j ReOSyywWmx5fY7U4tuMRk8XlXXPYLN7/dLT4tfwoowOHx5NNFxk9ds66y+6xaVUnm0fDgfMs HpuX1Hvs3PGZyePzJrkA9igum5TUnMyy1CJ9uwSujAdnjAoec1U0/5rB2MDYytnFyMkhIWAi MfvpTEYIW0ziwr31bF2MXBxCAtMZJX7fv8gM4bQwSVy+eJ8FpIpNwEpiYvsqsA4RAVmJK9Me MoIUMQvMZpKY/PI1UBEHh7CArcSDb2D1LAKqEqd/3GAGsXkFNCUm/VkBFhcV8JTYsX0lG0Rc UOLH5HtgcWYBeYl9+6eyQthaEut3HmeawMg3C0nZLCRls5CULWBkXsUomlqQXFCclJ5rpFec mFtcmpeul5yfu4kRHM7PpHcwrmqwOMQowMGoxMO7475RsBBrYllxZe4hRgkOZiUR3h1fgUK8 KYmVValF+fFFpTmpxYcYpTlYlMR5D7ZaBwoJpCeWpGanphakFsFkmTg4pRoYGbrChAONFRav vOammS7FYGvC63Y3saZC1otzons5h/zisxVK7bUfTr/vak+1P/tfeO6GWTOk+MVOsJu+1/db IrPY+29zzV6pkhr3eUHH3vzWKpv8dMGX+XPvsm7fq7BCZaaSxAxP5f+rbjcnT1g8/7ms11eD Q5Epoevnqolu3rGj2fVdw/9TSizFGYmGWsxFxYkAX2RkBmMCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140326_125947_445984_A0EE2854 X-CRM114-Status: GOOD ( 10.38 ) X-Spam-Score: -7.3 (-------) Cc: Andrew Lunn , Jason Cooper , linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, Gregory Clement , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Make sata_mv host driver depend on PCI || ARCH_KIRKWOOD || ARCH_MVEBU || ARCH_ORION5X config options as Marvell SATA support covers both Marvell PCI devices and Marvell Kirkwood, Armada 370/XP and Orion5x SoCs (for non-PCI devices the driver to work requires suitable device tree node to be defined). Additionally allow the driver build if COMPILE_TEST config option is set. Cc: Jason Cooper Cc: Andrew Lunn Cc: Gregory Clement Cc: Sebastian Hesselbarth Signed-off-by: Bartlomiej Zolnierkiewicz --- v2: - previous patch was against libata/for-next branch (SATA_MV selects GENERIC_PHY in for-next branch) drivers/ata/Kconfig | 2 ++ 1 file changed, 2 insertions(+) Index: b/drivers/ata/Kconfig =================================================================== --- a/drivers/ata/Kconfig 2014-03-26 17:43:46.000000000 +0100 +++ b/drivers/ata/Kconfig 2014-03-26 17:45:34.522983681 +0100 @@ -281,6 +281,8 @@ config SATA_HIGHBANK config SATA_MV tristate "Marvell SATA support" + depends on PCI || ARCH_KIRKWOOD || ARCH_MVEBU || ARCH_ORION5X || \ + COMPILE_TEST help This option enables support for the Marvell Serial ATA family. Currently supports 88SX[56]0[48][01] PCI(-X) chips,