]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/cris/arch-v10/kernel/shadows.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux...
[mirror_ubuntu-artful-kernel.git] / arch / cris / arch-v10 / kernel / shadows.c
CommitLineData
da4d0913 1/*
1da177e4
LT
2 * Various shadow registers. Defines for these are in include/asm-etrax100/io.h
3 */
4
5/* Shadows for internal Etrax-registers */
6
7unsigned long genconfig_shadow;
63245d2c 8unsigned long gen_config_ii_shadow;
1da177e4
LT
9unsigned long port_g_data_shadow;
10unsigned char port_pa_dir_shadow;
11unsigned char port_pa_data_shadow;
12unsigned char port_pb_i2c_shadow;
13unsigned char port_pb_config_shadow;
14unsigned char port_pb_dir_shadow;
15unsigned char port_pb_data_shadow;
16unsigned long r_timer_ctrl_shadow;
17
18/* Shadows for external I/O port registers.
19 * These are only usable if there actually IS a latch connected
20 * to the corresponding external chip-select pin.
21 *
49b4ff33 22 * A common usage is that CSP0 controls LEDs and CSP4 video chips.
1da177e4
LT
23 */
24
25unsigned long port_cse1_shadow;
26unsigned long port_csp0_shadow;
27unsigned long port_csp4_shadow;
28
29/* Corresponding addresses for the ports.
30 * These are initialized in arch/cris/mm/init.c using ioremap.
31 */
32
33volatile unsigned long *port_cse1_addr;
34volatile unsigned long *port_csp0_addr;
35volatile unsigned long *port_csp4_addr;
36