diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-m68k/pci.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/asm-m68k/pci.h')
-rw-r--r-- | include/asm-m68k/pci.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/include/asm-m68k/pci.h b/include/asm-m68k/pci.h new file mode 100644 index 000000000000..9e7d79ab5d13 --- /dev/null +++ b/include/asm-m68k/pci.h | |||
@@ -0,0 +1,61 @@ | |||
1 | #ifndef _ASM_M68K_PCI_H | ||
2 | #define _ASM_M68K_PCI_H | ||
3 | |||
4 | /* | ||
5 | * asm-m68k/pci_m68k.h - m68k specific PCI declarations. | ||
6 | * | ||
7 | * Written by Wout Klaren. | ||
8 | */ | ||
9 | |||
10 | #include <asm/scatterlist.h> | ||
11 | |||
12 | struct pci_ops; | ||
13 | |||
14 | /* | ||
15 | * Structure with hardware dependent information and functions of the | ||
16 | * PCI bus. | ||
17 | */ | ||
18 | |||
19 | struct pci_bus_info | ||
20 | { | ||
21 | /* | ||
22 | * Resources of the PCI bus. | ||
23 | */ | ||
24 | |||
25 | struct resource mem_space; | ||
26 | struct resource io_space; | ||
27 | |||
28 | /* | ||
29 | * System dependent functions. | ||
30 | */ | ||
31 | |||
32 | struct pci_ops *m68k_pci_ops; | ||
33 | |||
34 | void (*fixup)(int pci_modify); | ||
35 | void (*conf_device)(struct pci_dev *dev); | ||
36 | }; | ||
37 | |||
38 | #define pcibios_assign_all_busses() 0 | ||
39 | #define pcibios_scan_all_fns(a, b) 0 | ||
40 | |||
41 | static inline void pcibios_set_master(struct pci_dev *dev) | ||
42 | { | ||
43 | /* No special bus mastering setup handling */ | ||
44 | } | ||
45 | |||
46 | static inline void pcibios_penalize_isa_irq(int irq) | ||
47 | { | ||
48 | /* We don't do dynamic PCI IRQ allocation */ | ||
49 | } | ||
50 | |||
51 | /* The PCI address space does equal the physical memory | ||
52 | * address space. The networking and block device layers use | ||
53 | * this boolean for bounce buffer decisions. | ||
54 | */ | ||
55 | #define PCI_DMA_BUS_IS_PHYS (1) | ||
56 | |||
57 | static inline void pcibios_add_platform_entries(struct pci_dev *dev) | ||
58 | { | ||
59 | } | ||
60 | |||
61 | #endif /* _ASM_M68K_PCI_H */ | ||