ia64/linux-2.6.18-xen.hg

view arch/cris/arch-v10/kernel/shadows.c @ 647:a5bb490065f6

Fix the build after public header sync.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Aug 13 14:01:49 2008 +0100 (2008-08-13)
parents 831230e53067
children
line source
1 /* $Id: shadows.c,v 1.2 2004/12/13 12:21:51 starvik Exp $
2 *
3 * Various shadow registers. Defines for these are in include/asm-etrax100/io.h
4 */
6 /* Shadows for internal Etrax-registers */
8 unsigned long genconfig_shadow;
9 unsigned long gen_config_ii_shadow;
10 unsigned long port_g_data_shadow;
11 unsigned char port_pa_dir_shadow;
12 unsigned char port_pa_data_shadow;
13 unsigned char port_pb_i2c_shadow;
14 unsigned char port_pb_config_shadow;
15 unsigned char port_pb_dir_shadow;
16 unsigned char port_pb_data_shadow;
17 unsigned long r_timer_ctrl_shadow;
19 /* Shadows for external I/O port registers.
20 * These are only usable if there actually IS a latch connected
21 * to the corresponding external chip-select pin.
22 *
23 * A common usage is that CSP0 controls LED's and CSP4 video chips.
24 */
26 unsigned long port_cse1_shadow;
27 unsigned long port_csp0_shadow;
28 unsigned long port_csp4_shadow;
30 /* Corresponding addresses for the ports.
31 * These are initialized in arch/cris/mm/init.c using ioremap.
32 */
34 volatile unsigned long *port_cse1_addr;
35 volatile unsigned long *port_csp0_addr;
36 volatile unsigned long *port_csp4_addr;