HID: add hooks for getkeycode() and setkeycode() methods
[linux-2.6/kmemtrace.git] / include / asm-powerpc / mpc86xx.h
blobb85df45b1a84dcbfc37b93ee74365eaa3fcc8b31
1 /*
2 * MPC86xx definitions
4 * Author: Jeff Brown
6 * Copyright 2004 Freescale Semiconductor, Inc
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
14 #ifdef __KERNEL__
15 #ifndef __ASM_POWERPC_MPC86xx_H__
16 #define __ASM_POWERPC_MPC86xx_H__
18 #include <asm/mmu.h>
20 #ifdef CONFIG_PPC_86xx
22 #define _IO_BASE isa_io_base
23 #define _ISA_MEM_BASE isa_mem_base
24 #ifdef CONFIG_PCI
25 #define PCI_DRAM_OFFSET pci_dram_offset
26 #endif
28 #define CPU0_BOOT_RELEASE 0x01000000
29 #define CPU1_BOOT_RELEASE 0x02000000
30 #define CPU_ALL_RELEASED (CPU0_BOOT_RELEASE | CPU1_BOOT_RELEASE)
31 #define MCM_PORT_CONFIG_OFFSET 0x1010
33 /* Offset from CCSRBAR */
34 #define MPC86xx_MCM_OFFSET (0x00000)
35 #define MPC86xx_MCM_SIZE (0x02000)
37 #endif /* CONFIG_PPC_86xx */
38 #endif /* __ASM_POWERPC_MPC86xx_H__ */
39 #endif /* __KERNEL__ */