mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] ata: fix Marvell SATA driver dependencies
@ 2014-03-26 16:59 Bartlomiej Zolnierkiewicz
  2014-03-26 17:35 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2014-03-26 16:59 UTC (permalink / raw)
  To: Tejun Heo
  Cc: Jason Cooper, Andrew Lunn, Gregory Clement,
	Sebastian Hesselbarth, linux-ide, linux-arm-kernel, linux-kernel

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 <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
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,


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] ata: fix Marvell SATA driver dependencies
  2014-03-26 16:59 [PATCH v2] ata: fix Marvell SATA driver dependencies Bartlomiej Zolnierkiewicz
@ 2014-03-26 17:35 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2014-03-26 17:35 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: Tejun Heo, Jason Cooper, Andrew Lunn, Gregory Clement,
	Sebastian Hesselbarth, linux-ide, linux-arm-kernel, linux-kernel

On Wed, Mar 26, 2014 at 05:59:03PM +0100, Bartlomiej Zolnierkiewicz wrote:
> 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 

I would of thought Dove and mv78xx0 would also want it.

     Andrew

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-26 17:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-26 16:59 [PATCH v2] ata: fix Marvell SATA driver dependencies Bartlomiej Zolnierkiewicz
2014-03-26 17:35 ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome