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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-arm/] [mach/] [pci.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
/*
2
 *  linux/include/asm-arm/mach/pci.h
3
 *
4
 *  Copyright (C) 2000 Russell King
5
 *
6
 * This program is free software; you can redistribute it and/or modify
7
 * it under the terms of the GNU General Public License version 2 as
8
 * published by the Free Software Foundation.
9
 */
10
struct hw_pci {
11
        /* Initialise the hardware */
12
        void            (*init)(void *);
13
 
14
        /* Setup bus resources */
15
        void            (*setup_resources)(struct resource **);
16
 
17
        /*
18
         * This is the offset of PCI memory base registers
19
         * to physical memory.
20
         */
21
        unsigned long   mem_offset;
22
 
23
        /* IRQ swizzle */
24
        u8              (*swizzle)(struct pci_dev *dev, u8 *pin);
25
 
26
        /* IRQ mapping */
27
        int             (*map_irq)(struct pci_dev *dev, u8 slot, u8 pin);
28
};
29
 
30
extern u8 no_swizzle(struct pci_dev *dev, u8 *pin);
31
extern void __init dc21285_setup_resources(struct resource **resource);
32
extern void __init dc21285_init(void *sysdata);
33
extern void __init via82c505_init(void *sysdata);
34
 

powered by: WebSVN 2.1.0

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