linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 0/2] pata-platform configuration changes / Remove bast-ide
@ 2008-06-16 11:16 Ben Dooks
  2008-06-16 11:16 ` [patch 1/2] LIBATA: Add HAVE_PATA_PLATFORM to select PATA_PLATFORM driver Ben Dooks
  2008-06-16 11:16 ` [patch 2/2] BAST: Remove old IDE driver Ben Dooks
  0 siblings, 2 replies; 7+ messages in thread
From: Ben Dooks @ 2008-06-16 11:16 UTC (permalink / raw)
  To: linux-ide; +Cc: jgarzik, bzolnier

With libata's pata-platform support being merged, look at removing
the old bast-ide driver as this can now be done by registering a
pair of platform devices in the relevant machine support file.

As an addition, introduct HAVE_PATA_PLATFORM to allow any platform
or machine that uses this support to define their use of this
without having to explicitly enable CONFIG_EMBEDDED or add numerous
enabling statements into drivers/ata/Kconfig.

For an example, this is the update that will happen to the relevant
Kconfig for the "Simtec Anubis" machine:

--- linux-2.6.26-rc3-quilt1.orig/arch/arm/mach-s3c2440/Kconfig
+++ linux-2.6.26-rc3-quilt1/arch/arm/mach-s3c2440/Kconfig
@@ -29,6 +29,7 @@ config MACH_ANUBIS
        bool "Simtec Electronics ANUBIS"
        select CPU_S3C2440
        select PM_SIMTEC if PM
+       select HAVE_PATA_PLATFORM
        help
          Say Y here if you are using the Simtec Electronics ANUBIS
          development system


These two patches do not update the PATA_PLATFORM to remove the
current 'depends on' lines as these require syncronisation with
the relevant maintainers, so I propose these be submitted once
the HAVE_PATA_PLATFORM is merged. This means the sequence is
merge the HAVE_PATA_PLATFORM Kconfig changes, then send the
updates to use it to each maintainer. Onces these are merged
it is then possible to remove the other 'depends on' items from
the Kconfig without damaging architecture or machine support.

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

  'a smiley only costs 4 bytes'

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

end of thread, other threads:[~2008-06-19  0:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2008-06-16 11:16 ` [patch 2/2] BAST: Remove old IDE driver Ben Dooks
2008-06-16 19:30   ` Bartlomiej Zolnierkiewicz
2008-06-18 11:41     ` Ben Dooks
2008-06-18 21:33       ` Bartlomiej Zolnierkiewicz

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).