* [PATCH] Add configuration to specify availability of pata_platform
@ 2007-06-05 17:50 Ben Dooks
0 siblings, 0 replies; only message in thread
From: Ben Dooks @ 2007-06-05 17:50 UTC (permalink / raw)
To: linux-ide
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:41:58.000000000 +0100
@@ -548,9 +548,15 @@ config PATA_WINBOND_VLB
Support for the Winbond W83759A controller on Vesa Local Bus
systems.
+config ARCH_HAS_PATA_PLATFORM
+ bool
+ help
+ Internal config to show the architecture has at least one
+ machine which can use the pata_platform device support.
+
config PATA_PLATFORM
tristate "Generic platform device PATA support"
- depends on EMBEDDED || ARCH_RPC
+ depends on EMBEDDED || ARCH_RPC || ARCH_HAS_PATA_PLATFORM
help
This option enables support for generic directly connected ATA
devices commonly found on embedded systems.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-06-05 17:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-05 17:50 [PATCH] Add configuration to specify availability of pata_platform Ben Dooks
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).