surprise :p
[openwrt-10.03/.git] / target / linux / ar71xx / files / include / asm-mips / mach-ar71xx / pci.h
1 /*
2  *  Atheros AR71xx SoC specific PCI definitions
3  *
4  *  Copyright (C) 2008 Gabor Juhos <juhosg@openwrt.org>
5  *  Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
6  *
7  *  This program is free software; you can redistribute it and/or modify it
8  *  under the terms of the GNU General Public License version 2 as published
9  *  by the Free Software Foundation.
10  */
11
12 #ifndef __ASM_MACH_AR71XX_PCI_H
13 #define __ASM_MACH_AR71XX_PCI_H
14
15 struct ar71xx_pci_irq {
16         int     irq;
17         u8      slot;
18         u8      pin;
19 };
20
21 extern int (*ar71xx_pci_be_handler)(int is_fixup);
22 extern int (*ar71xx_pci_bios_init)(unsigned nr_irqs,
23                                     struct ar71xx_pci_irq *map) __initdata;
24
25 extern int ar71xx_pci_init(unsigned nr_irqs,
26                            struct ar71xx_pci_irq *map) __init;
27
28 #endif /* __ASM_MACH_AR71XX_PCI_H */