Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pci.h
Go to the documentation of this file.
1 /*
2  * Atheros AR71XX/AR724X PCI support
3  *
4  * Copyright (C) 2011 RenĂ© Bolldorf <[email protected]>
5  * Copyright (C) 2008-2011 Gabor Juhos <[email protected]>
6  * Copyright (C) 2008 Imre Kaloz <[email protected]>
7  *
8  * This program is free software; you can redistribute it and/or modify it
9  * under the terms of the GNU General Public License version 2 as published
10  * by the Free Software Foundation.
11  */
12 
13 #ifndef __ASM_MACH_ATH79_PCI_H
14 #define __ASM_MACH_ATH79_PCI_H
15 
16 #if defined(CONFIG_PCI) && defined(CONFIG_SOC_AR71XX)
17 int ar71xx_pcibios_init(void);
18 #else
19 static inline int ar71xx_pcibios_init(void) { return 0; }
20 #endif
21 
22 #if defined(CONFIG_PCI_AR724X)
23 int ar724x_pcibios_init(int irq);
24 #else
25 static inline int ar724x_pcibios_init(int irq) { return 0; }
26 #endif
27 
28 #endif /* __ASM_MACH_ATH79_PCI_H */