Re: [PATCH 1/2] MIPS: Alchemy: Enable PATA_PLATFORM support

From: Thomas Bogendoerfer
Date: Fri Jun 09 2023 - 04:27:41 EST


On Thu, Jun 01, 2023 at 01:56:19PM +0100, Maciej W. Rozycki wrote:
> We have limited demand for platform PATA support across MIPS platforms:
>
> $ find arch/mips -type f | sort | xargs grep -l pata_platform_info
> arch/mips/alchemy/devboards/db1200.c
> arch/mips/alchemy/devboards/db1300.c
> arch/mips/sibyte/swarm/platform.c
> $
>
> certainly not high enough to justify enabling support for PATA_PLATFORM
> port-wide. SiByte platforms are handled selectively already, so just
> make a similar arrangement for Alchemy DB1XXX platforms.
>
> Signed-off-by: Maciej W. Rozycki <macro@xxxxxxxxxxx>
> ---
> arch/mips/alchemy/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> linux-mips-alchemy-pata-platform.diff
> Index: linux-macro/arch/mips/alchemy/Kconfig
> ===================================================================
> --- linux-macro.orig/arch/mips/alchemy/Kconfig
> +++ linux-macro/arch/mips/alchemy/Kconfig
> @@ -14,6 +14,7 @@ config MIPS_DB1XXX
> bool "Alchemy DB1XXX / PB1XXX boards"
> select GPIOLIB
> select HAVE_PCI
> + select HAVE_PATA_PLATFORM
> select SYS_SUPPORTS_LITTLE_ENDIAN
> select SYS_HAS_EARLY_PRINTK
> help

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]