cleanup
[linux-2.4.21-pre4.git] / include / asm-m68k / pci.h
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 struct pci_ops;
11
12 /*
13  * Structure with hardware dependent information and functions of the
14  * PCI bus.
15  */
16
17 struct pci_bus_info
18 {
19         /*
20          * Resources of the PCI bus.
21          */
22
23         struct resource mem_space;
24         struct resource io_space;
25
26         /*
27          * System dependent functions.
28          */
29
30         struct pci_ops *m68k_pci_ops;
31
32         void (*fixup)(int pci_modify);
33         void (*conf_device)(unsigned char bus, unsigned char device_fn);
34 };
35
36 #define pcibios_assign_all_busses()     0
37
38 extern inline void pcibios_set_master(struct pci_dev *dev)
39 {
40         /* No special bus mastering setup handling */
41 }
42
43 extern inline void pcibios_penalize_isa_irq(int irq)
44 {
45         /* We don't do dynamic PCI IRQ allocation */
46 }
47
48 /* Return the index of the PCI controller for device PDEV. */
49 #define pci_controller_num(PDEV)        (0)
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 #endif /* _ASM_M68K_PCI_H */