linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3 2.6.24-git] Add HAVE_PLATFROM_PATA Kconfig
@ 2008-02-02 16:16 Ben Dooks
  2008-02-02 16:16 ` [PATCH 1/3 2.6.24-git] LIBATA: Add HAVE_PATA_PLATFORM to select PATA_PLATFORM driver Ben Dooks
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Ben Dooks @ 2008-02-02 16:16 UTC (permalink / raw)
  To: linux-ide, jeff, htejun

This is a repost of the earlier patch series, modified
to use HAVE_PATA_PLATFORM for the current kernel merge
window for 2.6.25.

-- 
Ben

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

* [PATCH 1/3 2.6.24-git] LIBATA: Add HAVE_PATA_PLATFORM to select PATA_PLATFORM driver
  2008-02-02 16:16 [PATCH 0/3 2.6.24-git] Add HAVE_PLATFROM_PATA Kconfig Ben Dooks
@ 2008-02-02 16:16 ` Ben Dooks
  2008-02-02 16:16 ` [PATCH 2/3 2.6.24-git] ARM/RPC: Use HAVE_PATA_PLATFORM to select pata platform driver Ben Dooks
  2008-02-02 16:16 ` (unknown) Ben Dooks
  2 siblings, 0 replies; 9+ messages in thread
From: Ben Dooks @ 2008-02-02 16:16 UTC (permalink / raw)
  To: linux-ide, jeff, htejun; +Cc: Ben Dooks

[-- Attachment #1: libata-pata-kconfig.patch --]
[-- Type: text/plain, Size: 1216 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.24-git12-pata/drivers/ata/Kconfig
===================================================================
--- linux-2.6.24-git12-pata.orig/drivers/ata/Kconfig
+++ linux-2.6.24-git12-pata/drivers/ata/Kconfig
@@ -614,9 +614,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] 9+ messages in thread

* [PATCH 2/3 2.6.24-git] ARM/RPC: Use HAVE_PATA_PLATFORM to select pata platform driver
  2008-02-02 16:16 [PATCH 0/3 2.6.24-git] Add HAVE_PLATFROM_PATA Kconfig Ben Dooks
  2008-02-02 16:16 ` [PATCH 1/3 2.6.24-git] LIBATA: Add HAVE_PATA_PLATFORM to select PATA_PLATFORM driver Ben Dooks
@ 2008-02-02 16:16 ` Ben Dooks
  2008-02-06 11:58   ` Jeff Garzik
  2008-02-02 16:16 ` (unknown) Ben Dooks
  2 siblings, 1 reply; 9+ messages in thread
From: Ben Dooks @ 2008-02-02 16:16 UTC (permalink / raw)
  To: linux-ide, jeff, htejun; +Cc: Ben Dooks, Linux ARM Kernel, Russell King

[-- Attachment #1: libata-rpc-use-have-kconfig.patch --]
[-- Type: text/plain, Size: 1547 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.24-git12-pata/arch/arm/Kconfig
===================================================================
--- linux-2.6.24-git12-pata.orig/arch/arm/Kconfig
+++ linux-2.6.24-git12-pata/arch/arm/Kconfig
@@ -371,6 +371,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
 	help
Index: linux-2.6.24-git12-pata/drivers/ata/Kconfig
===================================================================
--- linux-2.6.24-git12-pata.orig/drivers/ata/Kconfig
+++ linux-2.6.24-git12-pata/drivers/ata/Kconfig
@@ -624,7 +624,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] 9+ messages in thread

* (unknown)
  2008-02-02 16:16 [PATCH 0/3 2.6.24-git] Add HAVE_PLATFROM_PATA Kconfig Ben Dooks
  2008-02-02 16:16 ` [PATCH 1/3 2.6.24-git] LIBATA: Add HAVE_PATA_PLATFORM to select PATA_PLATFORM driver Ben Dooks
  2008-02-02 16:16 ` [PATCH 2/3 2.6.24-git] ARM/RPC: Use HAVE_PATA_PLATFORM to select pata platform driver Ben Dooks
@ 2008-02-02 16:16 ` Ben Dooks
  2 siblings, 0 replies; 9+ messages in thread
From: Ben Dooks @ 2008-02-02 16:16 UTC (permalink / raw)
  To: linux-ide, jeff, htejun



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

* [PATCH 2/3 2.6.24-git] ARM/RPC: Use HAVE_PATA_PLATFORM to select pata platform driver
  2008-02-02 16:21 [PATCH 0/3 2.6.24-git] Add HAVE_PLATFORM_PATA Kconfig Ben Dooks
@ 2008-02-02 16:21 ` Ben Dooks
  2008-02-05 19:09   ` Russell King - ARM Linux
  0 siblings, 1 reply; 9+ messages in thread
From: Ben Dooks @ 2008-02-02 16:21 UTC (permalink / raw)
  To: linux-ide, jeff, htejun; +Cc: Ben Dooks, Linux ARM Kernel, Russell King

[-- Attachment #1: libata-rpc-use-have-kconfig.patch --]
[-- Type: text/plain, Size: 1547 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.24-git12-pata/arch/arm/Kconfig
===================================================================
--- linux-2.6.24-git12-pata.orig/arch/arm/Kconfig
+++ linux-2.6.24-git12-pata/arch/arm/Kconfig
@@ -371,6 +371,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
 	help
Index: linux-2.6.24-git12-pata/drivers/ata/Kconfig
===================================================================
--- linux-2.6.24-git12-pata.orig/drivers/ata/Kconfig
+++ linux-2.6.24-git12-pata/drivers/ata/Kconfig
@@ -624,7 +624,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] 9+ messages in thread

* Re: [PATCH 2/3 2.6.24-git] ARM/RPC: Use HAVE_PATA_PLATFORM to select pata platform driver
  2008-02-02 16:21 ` [PATCH 2/3 2.6.24-git] ARM/RPC: Use HAVE_PATA_PLATFORM to select pata platform driver Ben Dooks
@ 2008-02-05 19:09   ` Russell King - ARM Linux
  0 siblings, 0 replies; 9+ messages in thread
From: Russell King - ARM Linux @ 2008-02-05 19:09 UTC (permalink / raw)
  To: Ben Dooks; +Cc: linux-ide, jeff, htejun, Linux ARM Kernel

On Sat, Feb 02, 2008 at 04:21:35PM +0000, Ben Dooks wrote:
> 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 is fine.

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

Thanks.

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

* Re: [PATCH 2/3 2.6.24-git] ARM/RPC: Use HAVE_PATA_PLATFORM to select pata platform driver
  2008-02-02 16:16 ` [PATCH 2/3 2.6.24-git] ARM/RPC: Use HAVE_PATA_PLATFORM to select pata platform driver Ben Dooks
@ 2008-02-06 11:58   ` Jeff Garzik
  2008-02-06 12:46     ` Russell King - ARM Linux
  0 siblings, 1 reply; 9+ messages in thread
From: Jeff Garzik @ 2008-02-06 11:58 UTC (permalink / raw)
  To: Ben Dooks, Russell King; +Cc: linux-ide, htejun, Linux ARM Kernel

ACK patch series...  would it be ok to send via the ARM maintainer?

I would prefer to add this at the same time as its user...


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

* Re: [PATCH 2/3 2.6.24-git] ARM/RPC: Use HAVE_PATA_PLATFORM to select pata platform driver
  2008-02-06 11:58   ` Jeff Garzik
@ 2008-02-06 12:46     ` Russell King - ARM Linux
  2008-02-11 23:59       ` Ben Dooks
  0 siblings, 1 reply; 9+ messages in thread
From: Russell King - ARM Linux @ 2008-02-06 12:46 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Ben Dooks, linux-ide, htejun, Linux ARM Kernel

On Wed, Feb 06, 2008 at 06:58:17AM -0500, Jeff Garzik wrote:
> ACK patch series...  would it be ok to send via the ARM maintainer?
> 
> I would prefer to add this at the same time as its user...

I've only seen the one patch, and I suspect that it depends on patches
to other architectures (to convert other architectures to use the new
variable.)

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

* Re: [PATCH 2/3 2.6.24-git] ARM/RPC: Use HAVE_PATA_PLATFORM to select pata platform driver
  2008-02-06 12:46     ` Russell King - ARM Linux
@ 2008-02-11 23:59       ` Ben Dooks
  0 siblings, 0 replies; 9+ messages in thread
From: Ben Dooks @ 2008-02-11 23:59 UTC (permalink / raw)
  To: Russell King - ARM Linux
  Cc: Jeff Garzik, Ben Dooks, linux-ide, htejun, Linux ARM Kernel

On Wed, Feb 06, 2008 at 12:46:59PM +0000, Russell King - ARM Linux wrote:
> On Wed, Feb 06, 2008 at 06:58:17AM -0500, Jeff Garzik wrote:
> > ACK patch series...  would it be ok to send via the ARM maintainer?
> > 
> > I would prefer to add this at the same time as its user...
> 
> I've only seen the one patch, and I suspect that it depends on patches
> to other architectures (to convert other architectures to use the new
> variable.)

Hmm, that is a difficult one. If I send it via RMK, then it assumes
that Jeff applies the core patch first and gets his pull request off
first. If I send via Jeff, I have to hope RMK doesn't try and modify
any of the RPC code (unlikely, these machines have been out of production
for a few years now).

Even worse, the rest of the patches have to also be applied in order
as they remove from the depends line...

-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.


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

end of thread, other threads:[~2008-02-11 23:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-02 16:16 [PATCH 0/3 2.6.24-git] Add HAVE_PLATFROM_PATA Kconfig Ben Dooks
2008-02-02 16:16 ` [PATCH 1/3 2.6.24-git] LIBATA: Add HAVE_PATA_PLATFORM to select PATA_PLATFORM driver Ben Dooks
2008-02-02 16:16 ` [PATCH 2/3 2.6.24-git] ARM/RPC: Use HAVE_PATA_PLATFORM to select pata platform driver Ben Dooks
2008-02-06 11:58   ` Jeff Garzik
2008-02-06 12:46     ` Russell King - ARM Linux
2008-02-11 23:59       ` Ben Dooks
2008-02-02 16:16 ` (unknown) Ben Dooks
  -- strict thread matches above, loose matches on Subject: below --
2008-02-02 16:21 [PATCH 0/3 2.6.24-git] Add HAVE_PLATFORM_PATA Kconfig Ben Dooks
2008-02-02 16:21 ` [PATCH 2/3 2.6.24-git] ARM/RPC: Use HAVE_PATA_PLATFORM to select pata platform driver Ben Dooks
2008-02-05 19:09   ` 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).