1367b8112SChris Zankel /* 2367b8112SChris Zankel * linux/include/asm-xtensa/pci.h 3367b8112SChris Zankel * 4367b8112SChris Zankel * This file is subject to the terms and conditions of the GNU General Public 5367b8112SChris Zankel * License. See the file "COPYING" in the main directory of this archive 6367b8112SChris Zankel * for more details. 7367b8112SChris Zankel * 8367b8112SChris Zankel * Copyright (C) 2001 - 2005 Tensilica Inc. 9367b8112SChris Zankel */ 10367b8112SChris Zankel 11367b8112SChris Zankel #ifndef _XTENSA_PCI_H 12367b8112SChris Zankel #define _XTENSA_PCI_H 13367b8112SChris Zankel 14367b8112SChris Zankel /* Can be used to override the logic in pci_scan_bus for skipping 15367b8112SChris Zankel * already-configured bus numbers - to be used for buggy BIOSes 16367b8112SChris Zankel * or architectures with incomplete PCI setup by the loader 17367b8112SChris Zankel */ 18367b8112SChris Zankel 19367b8112SChris Zankel #define pcibios_assign_all_busses() 0 20367b8112SChris Zankel 21367b8112SChris Zankel /* Assume some values. (We should revise them, if necessary) */ 22367b8112SChris Zankel 23367b8112SChris Zankel #define PCIBIOS_MIN_IO 0x2000 24367b8112SChris Zankel #define PCIBIOS_MIN_MEM 0x10000000 25367b8112SChris Zankel 26367b8112SChris Zankel /* Dynamic DMA mapping stuff. 27367b8112SChris Zankel * Xtensa has everything mapped statically like x86. 28367b8112SChris Zankel */ 29367b8112SChris Zankel 30367b8112SChris Zankel #include <linux/types.h> 31367b8112SChris Zankel #include <linux/slab.h> 3284be456fSChristoph Hellwig #include <linux/scatterlist.h> 33367b8112SChris Zankel #include <linux/string.h> 34367b8112SChris Zankel #include <asm/io.h> 35367b8112SChris Zankel 36367b8112SChris Zankel /* The PCI address space does equal the physical memory address space. 37367b8112SChris Zankel * The networking and block device layers use this boolean for bounce buffer 38367b8112SChris Zankel * decisions. 39367b8112SChris Zankel */ 40367b8112SChris Zankel 4146e15a2aSDavid Woodhouse /* Tell PCI code what kind of PCI resource mappings we support */ 42367b8112SChris Zankel #define HAVE_PCI_MMAP 1 4346e15a2aSDavid Woodhouse #define ARCH_GENERIC_PCI_MMAP_RESOURCE 1 44e854d8b2SDavid Woodhouse #define arch_can_pci_mmap_io() 1 45367b8112SChris Zankel 46367b8112SChris Zankel #endif /* _XTENSA_PCI_H */ 47