harrier.h 1.2 KB

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