[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251007092313.755856-1-daniel@thingy.jp>
Date: Tue, 7 Oct 2025 18:23:08 +0900
From: Daniel Palmer <daniel@...ngy.jp>
To: linux-m68k@...ts.linux-m68k.org,
linux-pci@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Daniel Palmer <daniel@...ngy.jp>
Subject: [RFC PATCH 0/5] PCI on the Amiga 4000
This series adds a driver for the Mediator 4000 PCI
bridge for the Amiga 4000.
Since this is my first PCI driver it's probably awful
so this is an RFC and also there is one interesting
unsolved bit:
As far as I can tell the Mediator 4000 cannot do DMA
between the normal memory and the PCI cards but PCI cards
can DMA between themselves. In the AmigaOS drivers a
bounce buffer is allocated on one of the cards that contains
memory, like a graphics card, and that is used for PCI
DMA. I'm not sure if that's even possible to do in Linux?
I've managed to use a network card that doesn't need DMA
so far, but I'm having trouble getting a Voodoo 3000 or
Radeon 9250 graphics card to come up properly. I guess
no one tests their cutting edge graphics drivers on non-x86
machines. ;)
Daniel Palmer (5):
m68k: Adjust the pci io range
m68k: Increase number of IRQs for Amiga to allow for PCI
m68k: amiga: Allow PCI
zorro: Add ids for Elbox Mediator 4000
PCI: Add driver for Elbox Mediator 4000 Zorro->PCI bridge
arch/m68k/Kconfig.machine | 1 +
arch/m68k/include/asm/io_mm.h | 9 +-
arch/m68k/include/asm/irq.h | 4 +-
drivers/pci/controller/Kconfig | 11 +
drivers/pci/controller/Makefile | 1 +
drivers/pci/controller/pci-mediator4000.c | 314 ++++++++++++++++++++++
drivers/zorro/zorro.ids | 2 +
7 files changed, 338 insertions(+), 4 deletions(-)
create mode 100644 drivers/pci/controller/pci-mediator4000.c
--
2.51.0
Powered by blists - more mailing lists