m68k: <asm/pci.h> needs <asm-generic/pci-dma-compat.h>
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-m68k / pci.h
blobd43febbc9c7db5936c490262a49463f6da021268
1 #ifndef _ASM_M68K_PCI_H
2 #define _ASM_M68K_PCI_H
4 /*
5 * asm-m68k/pci_m68k.h - m68k specific PCI declarations.
7 * Written by Wout Klaren.
8 */
10 #include <asm/scatterlist.h>
11 #include <asm-generic/pci-dma-compat.h>
13 struct pci_ops;
16 * Structure with hardware dependent information and functions of the
17 * PCI bus.
20 struct pci_bus_info
23 * Resources of the PCI bus.
26 struct resource mem_space;
27 struct resource io_space;
30 * System dependent functions.
33 struct pci_ops *m68k_pci_ops;
35 void (*fixup)(int pci_modify);
36 void (*conf_device)(struct pci_dev *dev);
39 #define pcibios_assign_all_busses() 0
40 #define pcibios_scan_all_fns(a, b) 0
42 static inline void pcibios_set_master(struct pci_dev *dev)
44 /* No special bus mastering setup handling */
47 static inline void pcibios_penalize_isa_irq(int irq, int active)
49 /* We don't do dynamic PCI IRQ allocation */
52 /* The PCI address space does equal the physical memory
53 * address space. The networking and block device layers use
54 * this boolean for bounce buffer decisions.
56 #define PCI_DMA_BUS_IS_PHYS (1)
58 #endif /* _ASM_M68K_PCI_H */