mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v6 0/2] m68k: pata_cswarp: Add Amiga cslab ata support
@ 2026-08-26 16:09 Paolo Pisati
  2026-08-26 16:09 ` [PATCH v6 1/2] ata: " Paolo Pisati
  2026-08-26 16:09 ` [PATCH v6 2/2] m68k: defconfig: enable PATA_CSWARP Paolo Pisati
  0 siblings, 2 replies; 3+ messages in thread
From: Paolo Pisati @ 2026-08-26 16:09 UTC (permalink / raw)
  To: Geert Uytterhoeven, Damien Le Moal, Niklas Cassel
  Cc: linux-ide, linux-m68k, linux-kernel

Here is a driver (and the subsequent defconfig change) for the pata/CF socket in
the CS-Lab Warp series of Amiga boards.

This is a respin of v5 addressing Geert's and sashiko-bot's review.

Tested on real Warp hardware.

v5: https://lore.kernel.org/linux-ide/20260824153339.512487-1-p.pisati@gmail.com/

Changes in v6:
 - fix 7.3 FTBFS (include <linux/device-id/zorro.h>, and use named initializers in
   the zorro_device_id table)
 - use devm_ioremap()
 - print the register window with %pR in ata_port_desc()

Changes in v5:
 - return the number of bytes actually consumed on the bus
 - fix the trailing byte in pata_cswarp_data_xfer()
 - drop a blank line in Kconfig
 - fix the remaining checkpatch complaints

Changes in v4:
 - refactor pata_cswarp_data_xfer()
 - ioremap WARP_OFFSET_ATA region

Changes in v3:
 - suppress a comment
 - properly return ata_host_activate() error code

Change in v2:
 - fix style, remove duplicate swap macro, driver version, etc
 - rework the zorro attach mechanism
 - remove the unnecessary zorro ids refactor

Paolo Pisati (2):
  ata: pata_cswarp: Add Amiga cslab ata support
  m68k: defconfig: enable PATA_CSWARP

 arch/m68k/configs/amiga_defconfig |   1 +
 arch/m68k/configs/multi_defconfig |   1 +
 drivers/ata/Kconfig               |  10 ++
 drivers/ata/Makefile              |   1 +
 drivers/ata/pata_cswarp.c         | 183 ++++++++++++++++++++++++++++++
 5 files changed, 196 insertions(+)
 create mode 100644 drivers/ata/pata_cswarp.c


base-commit: 66498c75b4f8017f62d720d9b59675bdf3abce91
-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-08-26 16:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-26 16:09 [PATCH v6 0/2] m68k: pata_cswarp: Add Amiga cslab ata support Paolo Pisati
2026-08-26 16:09 ` [PATCH v6 1/2] ata: " Paolo Pisati
2026-08-26 16:09 ` [PATCH v6 2/2] m68k: defconfig: enable PATA_CSWARP Paolo Pisati

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®