2 * Atheros AR71XX/AR724X PCI support
4 * Copyright (C) 2011 René Bolldorf <xsecute@googlemail.com>
5 * Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org>
6 * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
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.
13 #ifndef __ASM_MACH_ATH79_PCI_H
14 #define __ASM_MACH_ATH79_PCI_H
16 #if defined(CONFIG_PCI) && defined(CONFIG_SOC_AR71XX)
17 int ar71xx_pcibios_init(void);
19 static inline int ar71xx_pcibios_init(void) { return 0; }
22 #if defined(CONFIG_PCI_AR724X)
23 int ar724x_pcibios_init(int irq);
25 static inline int ar724x_pcibios_init(int irq) { return 0; }
28 #endif /* __ASM_MACH_ATH79_PCI_H */