Thread (12 messages) 12 messages, 5 authors, 2021-06-09

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

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2021-06-09 06:31:09
Also in: linux-m68k, lkml

On Tue, Jun 8, 2021 at 8:04 AM Finn Thain [off-list ref] 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@gmail.com>
Cc: Richard Zidlicky <redacted>
Reviewed-and-tested-by: Michael Schmitz [off-list ref]
Signed-off-by: Finn Thain <fthain@linux-m68k.org>
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@linux-m68k.org>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help