1 /* 2 * Various shadow registers. Defines for these are in include/asm-cris/io.h 3 */ 4 5 /* Shadows for internal Etrax-registers */ 6 7 unsigned long genconfig_shadow; 8 unsigned long port_g_data_shadow; 9 unsigned char port_pa_dir_shadow; 10 unsigned char port_pa_data_shadow; 11 unsigned char port_pb_i2c_shadow; 12 unsigned char port_pb_config_shadow; 13 unsigned char port_pb_dir_shadow; 14 unsigned char port_pb_data_shadow; 15 unsigned long r_timer_ctrl_shadow; 16 17 /* Shadows for external I/O port registers. 18 * These are only usable if there actually IS a latch connected 19 * to the corresponding external chip-select pin. 20 * 21 * A common usage is that CSP0 controls LED's and CSP4 video chips. 22 */ 23 24 unsigned long port_cse1_shadow; 25 unsigned long port_csp0_shadow; 26 unsigned long port_csp4_shadow; 27 28 /* Corresponding addresses for the ports. 29 * These are initialized in arch/cris/mm/init.c using ioremap. 30 */ 31 32 volatile unsigned long *port_cse1_addr; 33 volatile unsigned long *port_csp0_addr; 34 volatile unsigned long *port_csp4_addr; 35 36