pci.h 816 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Atheros AR71XX/AR724X PCI support
  3. *
  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>
  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. #ifndef __ASM_MACH_ATH79_PCI_H
  13. #define __ASM_MACH_ATH79_PCI_H
  14. #if defined(CONFIG_PCI) && defined(CONFIG_SOC_AR71XX)
  15. int ar71xx_pcibios_init(void);
  16. #else
  17. static inline int ar71xx_pcibios_init(void) { return 0; }
  18. #endif
  19. #if defined(CONFIG_PCI_AR724X)
  20. int ar724x_pcibios_init(int irq);
  21. #else
  22. static inline int ar724x_pcibios_init(int irq) { return 0; }
  23. #endif
  24. #endif /* __ASM_MACH_ATH79_PCI_H */