allow coexistance of N build and AC build.
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / include / asm-ppc / harrier.h
blob7acd7fc126ecac6601796b39e3d9a2953e0ee55b
1 /*
2 * Definitions for Motorola MCG Harrier North Bridge & Memory controller
4 * Author: Dale Farnsworth
5 * dale.farnsworth@mvista.com
7 * Modified by: Randy Vinson
8 * rvinson@mvista.com
10 * Copyright 2001-2002 MontaVista Software Inc.
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.
18 #ifndef __ASMPPC_HARRIER_H
19 #define __ASMPPC_HARRIER_H
21 #include <linux/types.h>
22 #include <asm/pci-bridge.h>
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);
33 unsigned long harrier_get_mem_size(uint smc_base);
35 int harrier_mpic_init(unsigned int pci_mem_offset);
37 void harrier_setup_nonmonarch(uint ppc_reg_base,
38 uint in0_size);
39 void harrier_release_eready(uint ppc_reg_base);
41 void harrier_wait_eready(uint ppc_reg_base);
43 #endif /* __ASMPPC_HARRIER_H */