PageRenderTime 17ms CodeModel.GetById 10ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/arch/xtensa/include/asm/pci.h

http://github.com/mirrors/linux
C Header | 49 lines | 15 code | 11 blank | 23 comment | 0 complexity | 9acd00ac467ee9b03f5a4b9e82bd86f0 MD5 | raw file
 1/*
 2 * linux/include/asm-xtensa/pci.h
 3 *
 4 * This file is subject to the terms and conditions of the GNU General Public
 5 * License.  See the file "COPYING" in the main directory of this archive
 6 * for more details.
 7 *
 8 * Copyright (C) 2001 - 2005 Tensilica Inc.
 9 */
10
11#ifndef _XTENSA_PCI_H
12#define _XTENSA_PCI_H
13
14/* Can be used to override the logic in pci_scan_bus for skipping
15 * already-configured bus numbers - to be used for buggy BIOSes
16 * or architectures with incomplete PCI setup by the loader
17 */
18
19#define pcibios_assign_all_busses()	0
20
21/* Assume some values. (We should revise them, if necessary) */
22
23#define PCIBIOS_MIN_IO		0x2000
24#define PCIBIOS_MIN_MEM		0x10000000
25
26/* Dynamic DMA mapping stuff.
27 * Xtensa has everything mapped statically like x86.
28 */
29
30#include <linux/types.h>
31#include <linux/slab.h>
32#include <linux/scatterlist.h>
33#include <linux/string.h>
34#include <asm/io.h>
35
36/* The PCI address space does equal the physical memory address space.
37 * The networking and block device layers use this boolean for bounce buffer
38 * decisions.
39 */
40
41/* Tell PCI code what kind of PCI resource mappings we support */
42#define HAVE_PCI_MMAP			1
43#define ARCH_GENERIC_PCI_MMAP_RESOURCE	1
44#define arch_can_pci_mmap_io()		1
45
46/* Generic PCI */
47#include <asm-generic/pci.h>
48
49#endif	/* _XTENSA_PCI_H */