Commit | Line | Data |
---|---|---|
d1e6dc91 LD |
1 | #ifndef __ASM_PCI_H |
2 | #define __ASM_PCI_H | |
3 | #ifdef __KERNEL__ | |
4 | ||
5 | #include <linux/types.h> | |
6 | #include <linux/slab.h> | |
7 | #include <linux/dma-mapping.h> | |
8 | ||
9 | #include <asm/io.h> | |
10 | #include <asm-generic/pci-bridge.h> | |
11 | #include <asm-generic/pci-dma-compat.h> | |
12 | ||
13 | #define PCIBIOS_MIN_IO 0x1000 | |
14 | #define PCIBIOS_MIN_MEM 0 | |
15 | ||
16 | /* | |
17 | * Set to 1 if the kernel should re-assign all PCI bus numbers | |
18 | */ | |
19 | #define pcibios_assign_all_busses() \ | |
20 | (pci_has_flag(PCI_REASSIGN_ALL_BUS)) | |
21 | ||
22 | /* | |
23 | * PCI address space differs from physical memory address space | |
24 | */ | |
25 | #define PCI_DMA_BUS_IS_PHYS (0) | |
26 | ||
27 | extern int isa_dma_bridge_buggy; | |
28 | ||
29 | #ifdef CONFIG_PCI | |
30 | static inline int pci_proc_domain(struct pci_bus *bus) | |
31 | { | |
32 | return 1; | |
33 | } | |
34 | #endif /* CONFIG_PCI */ | |
35 | ||
36 | #endif /* __KERNEL__ */ | |
37 | #endif /* __ASM_PCI_H */ |