* add p cc
[mascara-docs.git] / i386 / linux / linux-2.3.21 / include / asm-ppc / mpc8xx.h
blob656d3d60e45be48d4ad90d6c9ce64f571743b362
2 /* This is the single file included by all MPC8xx build options.
3 * Since there are many different boards and no standard configuration,
4 * we have a unique include file for each. Rather than change every
5 * file that has to include MPC8xx configuration, they all include
6 * this one and the configuration switching is done here.
7 */
8 #ifndef __CONFIG_8xx_DEFS
9 #define __CONFIG_8xx_DEFS
11 #ifdef CONFIG_8xx
13 #ifdef CONFIG_MBX
14 #include <asm/mbx.h>
15 #endif
17 #ifdef CONFIG_FADS
18 #include <asm/fads.h>
19 #endif
21 #ifdef CONFIG_RPXLITE
22 #include <asm/rpxlite.h>
23 #endif
25 #ifdef CONFIG_BSEIP
26 #include <asm/bseip.h>
27 #endif
29 #ifdef CONFIG_RPXCLASSIC
30 #include <asm/rpxclassic.h>
31 #endif
33 /* I need this to get pt_regs.......
35 #include <asm/ptrace.h>
37 /* Currently, all 8xx boards that support a processor to PCI/ISA bridge
38 * use the same memory map.
40 #if 0
41 #if defined(CONFIG_PCI) && defined(PCI_ISA_IO_ADDR)
42 #define _IO_BASE PCI_ISA_IO_ADDR
43 #define _ISA_MEM_BASE PCI_ISA_MEM_ADDR
44 #define PCI_DRAM_OFFSET 0x80000000
45 #else
46 #define _IO_BASE 0
47 #define _ISA_MEM_BASE 0
48 #define PCI_DRAM_OFFSET 0
49 #endif
50 #else
51 #define _IO_BASE 0
52 #define _ISA_MEM_BASE 0
53 #define PCI_DRAM_OFFSET 0
54 #endif
56 extern unsigned long isa_io_base;
57 extern unsigned long isa_mem_base;
58 extern unsigned long pci_dram_offset;
60 /* The "residual" data board information structure the boot loader
61 * hands to us.
63 extern unsigned char __res[];
65 extern int request_8xxirq(unsigned int irq,
66 void (*handler)(int, void *, struct pt_regs *),
67 unsigned long flags,
68 const char *device,
69 void *dev_id);
70 #endif /* CONFIG_8xx */
71 #endif