pci.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * pci prototypes for Celleb platform
  3. *
  4. * (C) Copyright 2006-2007 TOSHIBA CORPORATION
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License along
  17. * with this program; if not, write to the Free Software Foundation, Inc.,
  18. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  19. */
  20. #ifndef _CELLEB_PCI_H
  21. #define _CELLEB_PCI_H
  22. #include <linux/pci.h>
  23. #include <asm/pci-bridge.h>
  24. #include <asm/prom.h>
  25. #include <asm/ppc-pci.h>
  26. extern int celleb_setup_phb(struct pci_controller *);
  27. extern int celleb_pci_probe_mode(struct pci_bus *);
  28. extern int celleb_setup_epci(struct device_node *, struct pci_controller *);
  29. extern void *celleb_dummy_page_va;
  30. extern int __init celleb_pci_workaround_init(void);
  31. extern void __init celleb_pci_add_one(struct pci_controller *,
  32. void (*)(struct pci_controller *));
  33. extern void fake_pci_workaround_init(struct pci_controller *);
  34. extern void epci_workaround_init(struct pci_controller *);
  35. #endif /* _CELLEB_PCI_H */