File: hawk.h

package info (click to toggle)
linux-kernel-headers 2.6.18-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 38,648 kB
  • ctags: 300,882
  • sloc: ansic: 461,192; asm: 1,555; cpp: 340; makefile: 312; sh: 110
file content (32 lines) | stat: -rw-r--r-- 1,011 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * include/asm-ppc/hawk.h
 *
 * Support functions for MCG Falcon/Raven & HAWK North Bridge & Memory ctlr.
 *
 * Author: Mark A. Greer
 *         mgreer@mvista.com
 *
 * Modified by Randy Vinson (rvinson@mvista.com)
 *
 * 2001,2004 (c) MontaVista, Software, Inc.  This file is licensed under
 * the terms of the GNU General Public License version 2.  This program
 * is licensed "as is" without any warranty of any kind, whether express
 * or implied.
 */

#ifndef __ASMPPC_HAWK_H
#define __ASMPPC_HAWK_H

#include <asm/pci-bridge.h>
#include <asm/hawk_defs.h>

extern int hawk_init(struct pci_controller *hose,
	      unsigned int ppc_reg_base, unsigned long processor_pci_mem_start,
	      unsigned long processor_pci_mem_end,
	      unsigned long processor_pci_io_start,
	      unsigned long processor_pci_io_end,
	      unsigned long processor_mpic_base);
extern unsigned long hawk_get_mem_size(unsigned int smc_base);
extern int hawk_mpic_init(unsigned int pci_mem_offset);

#endif	/* __ASMPPC_HAWK_H */