]> git.baikalelectronics.ru Git - kernel.git/commit
m68k/q40: Replace q40ide driver with pata_falcon and falconide
authorFinn Thain <fthain@linux-m68k.org>
Thu, 10 Jun 2021 01:15:06 +0000 (11:15 +1000)
committerJens Axboe <axboe@kernel.dk>
Thu, 10 Jun 2021 22:30:12 +0000 (16:30 -0600)
commit44b1fbc0f5f30e66a56d29575349f0b1ebe2b0ee
tree924d54b1cee2d72fc71c8c569a64164d2040df23
parentcabd10be0b9e4bf043dc828321875b937b2aa7ca
m68k/q40: Replace q40ide driver with pata_falcon and falconide

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 <rz@linux-m68k.org>
Reviewed-and-tested-by: Michael Schmitz <schmitzmic@gmail.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Finn Thain <fthain@linux-m68k.org>
Link: https://lore.kernel.org/r/eefb7e9c2291e09fb4e065ce06bc105f05bb9e06.1623287706.git.fthain@linux-m68k.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/m68k/atari/config.c
arch/m68k/configs/multi_defconfig
arch/m68k/configs/q40_defconfig
arch/m68k/q40/config.c
drivers/ata/Kconfig
drivers/ata/pata_falcon.c
drivers/ide/Kconfig
drivers/ide/Makefile
drivers/ide/falconide.c
drivers/ide/q40ide.c [deleted file]