linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 0/2] libata: add HAVE_PATA_PLATFORM
@ 2008-04-15 14:43 Ben Dooks
  2008-04-15 14:43 ` [patch 1/2] LIBATA: Add HAVE_PATA_PLATFORM to select PATA_PLATFORM driver Ben Dooks
  2008-04-15 14:43 ` [patch 2/2] ARM/RPC: Use HAVE_PATA_PLATFORM to select pata platform driver Ben Dooks
  0 siblings, 2 replies; 4+ messages in thread
From: Ben Dooks @ 2008-04-15 14:43 UTC (permalink / raw)
  To: Linux IDE List

This is an update set, without the PPC modifications
for adding HAVE_PATA_PLATFORM for selecting the
availability of the driver.

If this is acceptable and be queued, I will enqueue
the patches to remove the old bast-ide driver from
the simtec boards in arch/arm/mach-*/ and the base-ide
driver.

-- 
Ben (ben@fluff.org, http://www.fluff.org/)

  'a smiley only costs 4 bytes'

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

* [patch 1/2] LIBATA: Add HAVE_PATA_PLATFORM to select PATA_PLATFORM driver
  2008-04-15 14:43 [patch 0/2] libata: add HAVE_PATA_PLATFORM Ben Dooks
@ 2008-04-15 14:43 ` Ben Dooks
  2008-04-15 14:43 ` [patch 2/2] ARM/RPC: Use HAVE_PATA_PLATFORM to select pata platform driver Ben Dooks
  1 sibling, 0 replies; 4+ messages in thread
From: Ben Dooks @ 2008-04-15 14:43 UTC (permalink / raw)
  To: Linux IDE List; +Cc: Ben Dooks

[-- Attachment #1: libata-pata-kconfig.patch --]
[-- Type: text/plain, Size: 1282 bytes --]

Add HAVE_PATA_PLATFORM to select the pata platform driver
to ensure that we do not end up with a long 'depends on' list
when other users of this driver turn up.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>

Index: linux-2.6.25-rc9-ata1/drivers/ata/Kconfig
===================================================================
--- linux-2.6.25-rc9-ata1.orig/drivers/ata/Kconfig	2008-04-14 23:46:46.000000000 +0100
+++ linux-2.6.25-rc9-ata1/drivers/ata/Kconfig	2008-04-15 15:27:48.000000000 +0100
@@ -624,9 +624,17 @@ config PATA_WINBOND_VLB
 	  Support for the Winbond W83759A controller on Vesa Local Bus
 	  systems.
 
+config HAVE_PATA_PLATFORM
+	bool
+	help
+	  This is an internal configuration node for any machine that
+	  uses pata-platform driver to enable the relevant driver in the
+	  configuration structure without having to submit endless patches
+	  to update the PATA_PLATFORM entry.
+
 config PATA_PLATFORM
 	tristate "Generic platform device PATA support"
-	depends on EMBEDDED || ARCH_RPC || PPC
+	depends on EMBEDDED || ARCH_RPC || PPC || HAVE_PATA_PLATFORM
 	help
 	  This option enables support for generic directly connected ATA
 	  devices commonly found on embedded systems.

-- 
Ben (ben@fluff.org, http://www.fluff.org/)

  'a smiley only costs 4 bytes'

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

* [patch 2/2] ARM/RPC: Use HAVE_PATA_PLATFORM to select pata platform driver
  2008-04-15 14:43 [patch 0/2] libata: add HAVE_PATA_PLATFORM Ben Dooks
  2008-04-15 14:43 ` [patch 1/2] LIBATA: Add HAVE_PATA_PLATFORM to select PATA_PLATFORM driver Ben Dooks
@ 2008-04-15 14:43 ` Ben Dooks
  2008-04-15 19:56   ` Russell King - ARM Linux
  1 sibling, 1 reply; 4+ messages in thread
From: Ben Dooks @ 2008-04-15 14:43 UTC (permalink / raw)
  To: Linux IDE List; +Cc: Ben Dooks, Linux ARM Kernel, Russell King

[-- Attachment #1: libata-rpc-use-have-kconfig.patch --]
[-- Type: text/plain, Size: 1690 bytes --]

Use HAVE_PATA_PLATFORM for ARCH_RPC 

Cc: Linux ARM Kernel <linux-arm-kernel@lists.arm.linux.org.uk>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
PATCH FOLLOWS
KernelVersion: 2.6.24-git12

Index: linux-2.6.25-rc9-ata1/arch/arm/Kconfig
===================================================================
--- linux-2.6.25-rc9-ata1.orig/arch/arm/Kconfig	2008-04-15 12:10:02.000000000 +0100
+++ linux-2.6.25-rc9-ata1/arch/arm/Kconfig	2008-04-15 15:27:53.000000000 +0100
@@ -411,6 +411,7 @@ config ARCH_RPC
 	select FIQ
 	select TIMER_ACORN
 	select ARCH_MAY_HAVE_PC_FDC
+	select HAVE_PATA_PLATFORM
 	select ISA_DMA_API
 	select NO_IOPORT
 	select HAVE_IDE
Index: linux-2.6.25-rc9-ata1/drivers/ata/Kconfig
===================================================================
--- linux-2.6.25-rc9-ata1.orig/drivers/ata/Kconfig	2008-04-15 15:27:48.000000000 +0100
+++ linux-2.6.25-rc9-ata1/drivers/ata/Kconfig	2008-04-15 15:27:53.000000000 +0100
@@ -634,7 +634,7 @@ config HAVE_PATA_PLATFORM
 
 config PATA_PLATFORM
 	tristate "Generic platform device PATA support"
-	depends on EMBEDDED || ARCH_RPC || PPC || HAVE_PATA_PLATFORM
+	depends on EMBEDDED || PPC || HAVE_PATA_PLATFORM
 	help
 	  This option enables support for generic directly connected ATA
 	  devices commonly found on embedded systems.

-- 
Ben (ben@fluff.org, http://www.fluff.org/)

  'a smiley only costs 4 bytes'

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

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

* Re: [patch 2/2] ARM/RPC: Use HAVE_PATA_PLATFORM to select pata platform driver
  2008-04-15 14:43 ` [patch 2/2] ARM/RPC: Use HAVE_PATA_PLATFORM to select pata platform driver Ben Dooks
@ 2008-04-15 19:56   ` Russell King - ARM Linux
  0 siblings, 0 replies; 4+ messages in thread
From: Russell King - ARM Linux @ 2008-04-15 19:56 UTC (permalink / raw)
  To: Ben Dooks; +Cc: Linux IDE List, Linux ARM Kernel

On Tue, Apr 15, 2008 at 03:43:27PM +0100, Ben Dooks wrote:
> Use HAVE_PATA_PLATFORM for ARCH_RPC 
> 
> Cc: Linux ARM Kernel <linux-arm-kernel@lists.arm.linux.org.uk>
> Signed-off-by: Ben Dooks <ben-linux@fluff.org>

Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>

> PATCH FOLLOWS
> KernelVersion: 2.6.24-git12
> 
> Index: linux-2.6.25-rc9-ata1/arch/arm/Kconfig
> ===================================================================
> --- linux-2.6.25-rc9-ata1.orig/arch/arm/Kconfig	2008-04-15 12:10:02.000000000 +0100
> +++ linux-2.6.25-rc9-ata1/arch/arm/Kconfig	2008-04-15 15:27:53.000000000 +0100
> @@ -411,6 +411,7 @@ config ARCH_RPC
>  	select FIQ
>  	select TIMER_ACORN
>  	select ARCH_MAY_HAVE_PC_FDC
> +	select HAVE_PATA_PLATFORM
>  	select ISA_DMA_API
>  	select NO_IOPORT
>  	select HAVE_IDE
> Index: linux-2.6.25-rc9-ata1/drivers/ata/Kconfig
> ===================================================================
> --- linux-2.6.25-rc9-ata1.orig/drivers/ata/Kconfig	2008-04-15 15:27:48.000000000 +0100
> +++ linux-2.6.25-rc9-ata1/drivers/ata/Kconfig	2008-04-15 15:27:53.000000000 +0100
> @@ -634,7 +634,7 @@ config HAVE_PATA_PLATFORM
>  
>  config PATA_PLATFORM
>  	tristate "Generic platform device PATA support"
> -	depends on EMBEDDED || ARCH_RPC || PPC || HAVE_PATA_PLATFORM
> +	depends on EMBEDDED || PPC || HAVE_PATA_PLATFORM
>  	help
>  	  This option enables support for generic directly connected ATA
>  	  devices commonly found on embedded systems.
> 
> -- 
> Ben (ben@fluff.org, http://www.fluff.org/)
> 
>   'a smiley only costs 4 bytes'
> 
> -------------------------------------------------------------------
> List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
> FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
> Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

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

end of thread, other threads:[~2008-04-15 19:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-15 14:43 [patch 0/2] libata: add HAVE_PATA_PLATFORM Ben Dooks
2008-04-15 14:43 ` [patch 1/2] LIBATA: Add HAVE_PATA_PLATFORM to select PATA_PLATFORM driver Ben Dooks
2008-04-15 14:43 ` [patch 2/2] ARM/RPC: Use HAVE_PATA_PLATFORM to select pata platform driver Ben Dooks
2008-04-15 19:56   ` Russell King - ARM Linux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).