mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
bc4b024a8b
For a long time all architectures implement the pci_dma_* functions using the generic DMA API, and they all use the same header to do so. Move this header, pci-dma-compat.h, to include/linux and include it from the generic pci.h instead of having each arch duplicate this include. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
18 lines
419 B
C
18 lines
419 B
C
#ifndef _ASM_M68K_PCI_H
|
|
#define _ASM_M68K_PCI_H
|
|
|
|
#include <asm-generic/pci.h>
|
|
|
|
/* The PCI address space does equal the physical memory
|
|
* address space. The networking and block device layers use
|
|
* this boolean for bounce buffer decisions.
|
|
*/
|
|
#define PCI_DMA_BUS_IS_PHYS (1)
|
|
|
|
#define pcibios_assign_all_busses() 1
|
|
|
|
#define PCIBIOS_MIN_IO 0x00000100
|
|
#define PCIBIOS_MIN_MEM 0x02000000
|
|
|
|
#endif /* _ASM_M68K_PCI_H */
|