Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * include/asm-ppc/hawk.h |
| 3 | * |
| 4 | * Support functions for MCG Falcon/Raven & HAWK North Bridge & Memory ctlr. |
| 5 | * |
| 6 | * Author: Mark A. Greer |
| 7 | * mgreer@mvista.com |
| 8 | * |
| 9 | * Modified by Randy Vinson (rvinson@mvista.com) |
| 10 | * |
| 11 | * 2001,2004 (c) MontaVista, Software, Inc. This file is licensed under |
| 12 | * the terms of the GNU General Public License version 2. This program |
| 13 | * is licensed "as is" without any warranty of any kind, whether express |
| 14 | * or implied. |
| 15 | */ |
| 16 | |
| 17 | #ifndef __ASMPPC_HAWK_H |
| 18 | #define __ASMPPC_HAWK_H |
| 19 | |
| 20 | #include <asm/pci-bridge.h> |
| 21 | #include <asm/hawk_defs.h> |
| 22 | |
| 23 | extern int hawk_init(struct pci_controller *hose, |
| 24 | unsigned int ppc_reg_base, unsigned long processor_pci_mem_start, |
| 25 | unsigned long processor_pci_mem_end, |
| 26 | unsigned long processor_pci_io_start, |
| 27 | unsigned long processor_pci_io_end, |
| 28 | unsigned long processor_mpic_base); |
| 29 | extern unsigned long hawk_get_mem_size(unsigned int smc_base); |
| 30 | extern int hawk_mpic_init(unsigned int pci_mem_offset); |
| 31 | |
| 32 | #endif /* __ASMPPC_HAWK_H */ |