[PATCH v2 2/2] asm-generic: Add new pci.h and use it
Christoph Hellwig
hch at infradead.org
Sun Jul 17 21:37:12 PDT 2022
On Sun, Jul 17, 2022 at 12:34:53PM +0900, Stafford Horne wrote:
> Two things to note are:
>
> - isa_dma_bridge_buggy, traditionally this is defined in asm/dma.h but
> these architectures avoid creating that file and add the definition
> to asm/pci.h.
This doesn't have anyting to do with PCI support. I think adding a
separate header just for this that always stubs it out unless a config
option is set (which x86 then selects) is the besy idea here. I also
think the isa_dma_bridge_buggy needs to move out of the PCI code as
well.
More information about the linux-riscv
mailing list