All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Dooks <ben@trinity.fluff.org>
To: linux-ide@vger.kernel.org
Subject: [PATCH,RFC] Add configuration for availability of pata_platform
Date: Tue, 10 Jul 2007 00:31:29 +0100	[thread overview]
Message-ID: <20070709233129.GA31114@trinity.fluff.org> (raw)

Repost of http://marc.info/?l=linux-ide&m=118106594419762&w=2

Could someone comment on the following please:

Add a hidden configuration for an architecture or machine to
select to show that the pata_platform driver should be show
in the configuration.

This method is used to allow each individual machine/arch to
specify this, instead of creating large "depends on" on the
driver's Kconfig menu.

If this patch is acceptable, I will submit a patch to
move ARCH_RPC to select ARCH_HAS_PATA_PLATFORM.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
 
Index: linux-2.6.22-rc4-simtec/drivers/ata/Kconfig
===================================================================
--- linux-2.6.22-rc4-simtec.orig/drivers/ata/Kconfig	2007-06-05 18:27:08.000000000 +0100
+++ linux-2.6.22-rc4-simtec/drivers/ata/Kconfig	2007-06-05 18:35:44.000000000 +0100
@@ -548,9 +548,15 @@ config PATA_WINBOND_VLB
 	  Support for the Winbond W83759A controller on Vesa Local Bus
 	  systems.
 
+config ARCH_HAS_PLATFORM_ATA
+	bool
+	help
+	  Embedded option to show the architecture has at least one
+	  machine which can use the platform device ata support.
+
 config PATA_PLATFORM
 	tristate "Generic platform device PATA support"
-	depends on EMBEDDED || ARCH_RPC
+	depends on EMBEDDED || ARCH_RPC || ARCH_HAS_PLATFORM_ATA
 	help
 	  This option enables support for generic directly connected ATA
 	  devices commonly found on embedded systems.

-- 
Ben

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


                 reply	other threads:[~2007-07-09 23:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20070709233129.GA31114@trinity.fluff.org \
    --to=ben@trinity.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.