Skip to content

pata-platform configuration changes / Remove bast-ide

Ben Dooks linux-ide 1 version Applied

Status from this message: applied

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2LIBATA: Add HAVE_PATA_PLATFORM to select PATA_PLATFORM driverdrivers/ata/Kconfig+9 -11 reply
2/2BAST: Remove old IDE driverdrivers/ide/Kconfig drivers/ide/arm/Makefile drivers/ide/arm/bast-ide.c+0 -983 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/2] pata-platform configuration changes / Remove bast-ide

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:

arch/arm/mach-s3c2440/Kconfig +1 -0
@@ -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.

Signature · 3 lines
Ben ([email protected], http://www.fluff.org/)

  'a smiley only costs 4 bytes'