Re: [PATCH 2/3] ARM: sunxi: Add an ahci-platform compatible AHCIdriver for the Allwinner SUNXi series of SoCs

From: Tejun Heo
Date: Wed Dec 04 2013 - 07:37:19 EST


On Wed, Dec 04, 2013 at 01:10:54PM +0100, oliver@xxxxxxxxxxx wrote:
> From: Oliver Schinagl <oliver@xxxxxxxxxxx>
>
> This patch adds support for the sunxi series of SoC's by allwinner. It
> plugs into the ahci-platform framework.
>
> Note: Currently it uses a somewhat hackish approach that probably needs
> a lot more work, but does the same as the IMX SoC's.
>
> Signed-off-by: Olliver Schinagl <oliver@xxxxxxxxxxx>
> ---
> .../devicetree/bindings/ata/ahci-sunxi.txt | 24 ++
> drivers/ata/Kconfig | 9 +
> drivers/ata/Makefile | 1 +
> drivers/ata/ahci_platform.c | 12 +
> drivers/ata/ahci_sunxi.c | 305 +++++++++++++++++++++

I'm not really liking the way things are going. Do we really need
separate drivers for each platform ahci implementation. Are they
really that different? Would it be impossible to make ahci_platform
generic enough so that we don't eventually end up with a gazillion
ahci_XXX drivers?

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/