home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-ppc / harrier.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  1.2 KB  |  44 lines

  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.  
  18. #ifndef __ASMPPC_HARRIER_H
  19. #define __ASMPPC_HARRIER_H
  20.  
  21. #include <linux/types.h>
  22. #include <asm/pci-bridge.h>
  23.  
  24. struct pci_controller;
  25. int harrier_init(struct pci_controller *hose,
  26.          uint ppc_reg_base,
  27.          ulong processor_pci_mem_start,
  28.          ulong processor_pci_mem_end,
  29.          ulong processor_pci_io_start,
  30.          ulong processor_pci_io_end,
  31.          ulong processor_mpic_base);
  32.  
  33. unsigned long harrier_get_mem_size(uint smc_base);
  34.  
  35. int harrier_mpic_init(unsigned int pci_mem_offset);
  36.  
  37. void harrier_setup_nonmonarch(uint ppc_reg_base,
  38.                   uint in0_size);
  39. void harrier_release_eready(uint ppc_reg_base);
  40.  
  41. void harrier_wait_eready(uint ppc_reg_base);
  42.  
  43. #endif /* __ASMPPC_HARRIER_H */
  44.