harrier.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * Definitions for Motorola MCG Harrier North Bridge & Memory controller
  3. *
  4. * Author: Dale Farnsworth
  5. * dale.farnsworth@mvista.com
  6. *
  7. * Modified by: Randy Vinson
  8. * rvinson@mvista.com
  9. *
  10. * Copyright 2001-2002 MontaVista Software Inc.
  11. *
  12. * This program is free software; you can redistribute it and/or modify it
  13. * under the terms of the GNU General Public License as published by the
  14. * Free Software Foundation; either version 2 of the License, or (at your
  15. * option) any later version.
  16. */
  17. #ifndef __ASMPPC_HARRIER_H
  18. #define __ASMPPC_HARRIER_H
  19. #include <linux/types.h>
  20. #include <asm/pci-bridge.h>
  21. struct pci_controller;
  22. int harrier_init(struct pci_controller *hose,
  23. uint ppc_reg_base,
  24. ulong processor_pci_mem_start,
  25. ulong processor_pci_mem_end,
  26. ulong processor_pci_io_start,
  27. ulong processor_pci_io_end,
  28. ulong processor_mpic_base);
  29. unsigned long harrier_get_mem_size(uint smc_base);
  30. int harrier_mpic_init(unsigned int pci_mem_offset);
  31. void harrier_setup_nonmonarch(uint ppc_reg_base,
  32. uint in0_size);
  33. void harrier_release_eready(uint ppc_reg_base);
  34. void harrier_wait_eready(uint ppc_reg_base);
  35. #endif /* __ASMPPC_HARRIER_H */