OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-m68k/] [pci.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
#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
#define pcibios_scan_all_fns()          0
38
 
39
static inline void pcibios_set_master(struct pci_dev *dev)
40
{
41
        /* No special bus mastering setup handling */
42
}
43
 
44
static inline void pcibios_penalize_isa_irq(int irq)
45
{
46
        /* We don't do dynamic PCI IRQ allocation */
47
}
48
 
49
/* Return the index of the PCI controller for device PDEV. */
50
#define pci_controller_num(PDEV)        (0)
51
 
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.
55
 */
56
#define PCI_DMA_BUS_IS_PHYS     (1)
57
 
58
#endif /* _ASM_M68K_PCI_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.