diff options
author | Greg Ungerer <gerg@uclinux.org> | 2009-01-29 06:33:15 +0100 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2009-03-24 06:17:41 +0100 |
commit | 76fdb7d6bd7922353abc8a1407c6dde3789042ce (patch) | |
tree | b6ad751bf6170f4e5144a527beab2de21301e433 /arch/m68k/include/asm/pci.h | |
parent | m68knommu: add a local dma_sync_single_for_cpu() function (diff) | |
download | linux-76fdb7d6bd7922353abc8a1407c6dde3789042ce.tar.xz linux-76fdb7d6bd7922353abc8a1407c6dde3789042ce.zip |
m68k: use the mmu pci.h for m68knommu as well
The (m68knommu) COMEMPCI support has been removed from the kernel,
so now the mmu pci.h can be used on non-mmu setups as well.
Remove the non-mmu pci_no.h and revert the pci_mm.h to be pci.h.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/include/asm/pci.h')
-rw-r--r-- | arch/m68k/include/asm/pci.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/arch/m68k/include/asm/pci.h b/arch/m68k/include/asm/pci.h index dbea95373080..4ad0aea48ab4 100644 --- a/arch/m68k/include/asm/pci.h +++ b/arch/m68k/include/asm/pci.h @@ -1,5 +1,12 @@ -#ifdef __uClinux__ -#include "pci_no.h" -#else -#include "pci_mm.h" -#endif +#ifndef _ASM_M68K_PCI_H +#define _ASM_M68K_PCI_H + +#include <asm-generic/pci-dma-compat.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) + +#endif /* _ASM_M68K_PCI_H */ |