Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6.23
[linux-block.git] / include / asm-m68k / pci.h
CommitLineData
1da177e4
LT
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
12struct pci_ops;
13
14/*
15 * Structure with hardware dependent information and functions of the
16 * PCI bus.
17 */
18
19struct 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
41static inline void pcibios_set_master(struct pci_dev *dev)
42{
43 /* No special bus mastering setup handling */
44}
45
c9c3e457 46static inline void pcibios_penalize_isa_irq(int irq, int active)
1da177e4
LT
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
1da177e4 57#endif /* _ASM_M68K_PCI_H */