Re: [PATCH v2 2/2] m68k/q40: Replace q40ide driver with pata_falcon and falconide

From: Geert Uytterhoeven
Date: Wed Jun 09 2021 - 02:31:09 EST


On Tue, Jun 8, 2021 at 8:04 AM Finn Thain <fthain@xxxxxxxxxxxxxx> wrote:
> This allows m68k q40 systems to switch from the deprecated IDE subsystem
> to libata.
>
> Enhance the byte-swapping falconide and pata_falcon platform drivers to
> accept an irq resource, for use on q40. Atari ST-DMA IRQ arrangements seem
> to co-exist with q40 IRQ arrangements without too much mess.
>
> The new IO resources were added solely for the purpose of making
> request_region() reservations identical to those made by q40ide: these
> regions aren't used for actual IO.
>
> Cc: Michael Schmitz <schmitzmic@xxxxxxxxx>
> Cc: Richard Zidlicky <rz@xxxxxxxxxxxxxx>
> Reviewed-and-tested-by: Michael Schmitz <schmitzmic@xxxxxxxxx>
> Signed-off-by: Finn Thain <fthain@xxxxxxxxxxxxxx>

Thanks for your patch!

> arch/m68k/atari/config.c | 12 +--
> arch/m68k/configs/multi_defconfig | 1 -
> arch/m68k/configs/q40_defconfig | 2 +-
> arch/m68k/q40/config.c | 37 +++++--
> drivers/ata/Kconfig | 6 +-
> drivers/ata/pata_falcon.c | 62 ++++++++---
> drivers/ide/Kconfig | 18 +---
> drivers/ide/Makefile | 1 -
> drivers/ide/falconide.c | 75 ++++++++-----
> drivers/ide/q40ide.c | 168 ------------------------------
> 10 files changed, 137 insertions(+), 245 deletions(-)
> delete mode 100644 drivers/ide/q40ide.c

Acked-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds