40 struct rtems_bsdnet_ifconfig;
41 int uti596_attach(
struct rtems_bsdnet_ifconfig * pConfig,
int attaching );
42 #define RTEMS_BSP_NETWORK_DRIVER_NAME "uti1" 43 #define RTEMS_BSP_NETWORK_DRIVER_ATTACH uti596_attach 55 #define BOARD_BASE_ADDRESS 0xFFFF0000 66 #define GROUP_BASE_ADDRESS 0x0000CC00 73 typedef volatile struct {
74 unsigned long slave_adr[2];
75 unsigned long slave_trn[2];
76 unsigned long slave_ctl;
77 unsigned long mastr_adr[4];
78 unsigned long mastr_trn;
79 unsigned long mastr_att;
80 unsigned long mastr_ctl;
81 unsigned long dma_ctl_1;
82 unsigned long dma_ctl_2;
83 unsigned long dma_loc_cnt;
84 unsigned long dma_vme_cnt;
85 unsigned long dma_byte_cnt;
86 unsigned long dma_adr_cnt;
87 unsigned long dma_status;
89 unsigned long timer_cmp_1;
90 unsigned long timer_cnt_1;
91 unsigned long timer_cmp_2;
92 unsigned long timer_cnt_2;
93 unsigned long board_ctl;
94 unsigned long prescaler_cnt;
95 unsigned long intr_stat;
96 unsigned long intr_ena;
97 unsigned long intr_soft_set;
98 unsigned long intr_clear;
99 unsigned long intr_level[4];
100 unsigned long vector_base;
108 #define lcsr ((lcsr_regs * const) 0xFFF40000) 117 #define MASK_INT 0x00800000 129 unsigned char chip_id;
130 unsigned char chip_revision;
131 unsigned char gen_control;
132 unsigned char vector_base;
133 unsigned long timer_cmp_1;
134 unsigned long timer_cnt_1;
135 unsigned long timer_cmp_2;
136 unsigned long timer_cnt_2;
137 unsigned char LSB_prescaler_count;
138 unsigned char prescaler_clock_adjust;
139 unsigned char timer_ctl_2;
140 unsigned char timer_ctl_1;
141 unsigned char gpi_int_ctl;
142 unsigned char gpio_ctl;
143 unsigned char timer_int_ctl_2;
144 unsigned char timer_int_ctl_1;
145 unsigned char SCC_error;
146 unsigned char SCC_modem_int_ctl;
147 unsigned char SCC_tx_int_ctl;
148 unsigned char SCC_rx_int_ctl;
149 unsigned char reserved1[3];
150 unsigned char modem_piack;
151 unsigned char reserved2;
152 unsigned char tx_piack;
153 unsigned char reserved3;
154 unsigned char rx_piack;
155 unsigned char LANC_error;
156 unsigned char reserved4;
157 unsigned char LANC_int_ctl;
158 unsigned char LANC_berr_ctl;
159 unsigned char SCSI_error;
160 unsigned char reserved5[2];
161 unsigned char SCSI_int_ctl;
162 unsigned char print_ack_int_ctl;
163 unsigned char print_fault_int_ctl;
164 unsigned char print_sel_int_ctl;
165 unsigned char print_pe_int_ctl;
166 unsigned char print_busy_int_ctl;
167 unsigned char reserved6;
168 unsigned char print_input_status;
169 unsigned char print_ctl;
170 unsigned char chip_speed;
171 unsigned char reserved7;
172 unsigned char print_data;
173 unsigned char reserved8[3];
174 unsigned char int_level;
175 unsigned char int_mask;
182 #define pccchip2 ((pccchip2_regs * const) 0xFFF42000) 195 #define PCCCHIP2_VBR 0x5 203 typedef volatile struct {
204 unsigned char chip_revision;
205 unsigned char chip_id;
207 unsigned char board_scr;
208 unsigned short gpr[6];
211 #define gcsr_vme ((gcsr_regs * const) (GROUP_BASE_ADDRESS + BOARD_BASE_ADDRESS)) 212 #define gcsr ((gcsr_regs * const) 0xFFF40100) 218 unsigned short port_lower;
219 unsigned short port_upper;
220 unsigned long chan_attn;
227 #define i82596 ((i82596_regs * const) 0xFFF46000) 234 typedef volatile struct nvram_config_ {
235 unsigned char cache_mode;
236 unsigned char console_mode;
237 unsigned char console_printk_port;
239 unsigned long ipaddr;
240 unsigned long netmask;
241 unsigned char enaddr[6];
242 unsigned short processor_id;
243 unsigned long rma_start;
244 unsigned long vma_start;
245 unsigned long ramsize;
252 #define nvram ((nvram_config * const) 0xFFFC0000) 264 #define NVRAM_CONFIGURE \ 265 ( !( ( (unsigned char)(lcsr->vector_base & 0xFF) ) & 0x10 ) ) 267 #define NVRAM_CONFIGURE 0 Definition: mvme16x_hw.h:203
Definition: mvme16x_hw.h:217
Definition: mvme16x_hw.h:73
Definition: mvme16x_hw.h:128