pci.h 715 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Atheros 724x PCI support
  3. *
  4. * Copyright (C) 2011 René Bolldorf <xsecute@googlemail.com>
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License version 2 as published
  8. * by the Free Software Foundation.
  9. */
  10. #ifndef __ASM_MACH_ATH79_PCI_H
  11. #define __ASM_MACH_ATH79_PCI_H
  12. #if defined(CONFIG_PCI) && defined(CONFIG_SOC_AR71XX)
  13. int ar71xx_pcibios_init(void);
  14. #else
  15. static inline int ar71xx_pcibios_init(void) { return 0; }
  16. #endif
  17. #if defined(CONFIG_PCI) && defined(CONFIG_SOC_AR724X)
  18. int ar724x_pcibios_init(int irq);
  19. #else
  20. static inline int ar724x_pcibios_init(int irq) { return 0; }
  21. #endif
  22. #endif /* __ASM_MACH_ATH79_PCI_H */