linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Dooks <ben-linux@fluff.org>
To: Linux IDE List <linux-ide@vger.kernel.org>
Cc: Ben Dooks <ben-linux@fluff.org>
Subject: [patch 1/2] LIBATA: Add HAVE_PATA_PLATFORM to select PATA_PLATFORM driver
Date: Tue, 15 Apr 2008 15:43:26 +0100	[thread overview]
Message-ID: <20080415144511.835003836@fluff.org.uk> (raw)
In-Reply-To: 20080415144325.363175912@fluff.org.uk

[-- 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'

  reply	other threads:[~2008-04-15 15:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-15 14:43 [patch 0/2] libata: add HAVE_PATA_PLATFORM Ben Dooks
2008-04-15 14:43 ` Ben Dooks [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2008-06-16 11:16 [patch 0/2] pata-platform configuration changes / Remove bast-ide Ben Dooks
2008-06-16 11:16 ` [patch 1/2] LIBATA: Add HAVE_PATA_PLATFORM to select PATA_PLATFORM driver Ben Dooks
2008-06-19  0:30   ` Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080415144511.835003836@fluff.org.uk \
    --to=ben-linux@fluff.org \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).