59struct rtems_bsdnet_ifconfig;
60int uti596_attach(
struct rtems_bsdnet_ifconfig * pConfig,
int attaching );
61#define RTEMS_BSP_NETWORK_DRIVER_NAME "uti1"
62#define RTEMS_BSP_NETWORK_DRIVER_ATTACH uti596_attach
74#define BOARD_BASE_ADDRESS 0xFFFF0000
85#define GROUP_BASE_ADDRESS 0x0000CC00
92typedef volatile struct {
93 unsigned long slave_adr[2];
94 unsigned long slave_trn[2];
95 unsigned long slave_ctl;
96 unsigned long mastr_adr[4];
97 unsigned long mastr_trn;
98 unsigned long mastr_att;
99 unsigned long mastr_ctl;
100 unsigned long dma_ctl_1;
101 unsigned long dma_ctl_2;
102 unsigned long dma_loc_cnt;
103 unsigned long dma_vme_cnt;
104 unsigned long dma_byte_cnt;
105 unsigned long dma_adr_cnt;
106 unsigned long dma_status;
107 unsigned long to_ctl;
108 unsigned long timer_cmp_1;
109 unsigned long timer_cnt_1;
110 unsigned long timer_cmp_2;
111 unsigned long timer_cnt_2;
112 unsigned long board_ctl;
113 unsigned long prescaler_cnt;
114 unsigned long intr_stat;
115 unsigned long intr_ena;
116 unsigned long intr_soft_set;
117 unsigned long intr_clear;
118 unsigned long intr_level[4];
119 unsigned long vector_base;
127#define lcsr ((lcsr_regs * const) 0xFFF40000)
136#define MASK_INT 0x00800000
148 unsigned char chip_id;
149 unsigned char chip_revision;
150 unsigned char gen_control;
151 unsigned char vector_base;
152 unsigned long timer_cmp_1;
153 unsigned long timer_cnt_1;
154 unsigned long timer_cmp_2;
155 unsigned long timer_cnt_2;
156 unsigned char LSB_prescaler_count;
157 unsigned char prescaler_clock_adjust;
158 unsigned char timer_ctl_2;
159 unsigned char timer_ctl_1;
160 unsigned char gpi_int_ctl;
161 unsigned char gpio_ctl;
162 unsigned char timer_int_ctl_2;
163 unsigned char timer_int_ctl_1;
164 unsigned char SCC_error;
165 unsigned char SCC_modem_int_ctl;
166 unsigned char SCC_tx_int_ctl;
167 unsigned char SCC_rx_int_ctl;
168 unsigned char reserved1[3];
169 unsigned char modem_piack;
170 unsigned char reserved2;
171 unsigned char tx_piack;
172 unsigned char reserved3;
173 unsigned char rx_piack;
174 unsigned char LANC_error;
175 unsigned char reserved4;
176 unsigned char LANC_int_ctl;
177 unsigned char LANC_berr_ctl;
178 unsigned char SCSI_error;
179 unsigned char reserved5[2];
180 unsigned char SCSI_int_ctl;
181 unsigned char print_ack_int_ctl;
182 unsigned char print_fault_int_ctl;
183 unsigned char print_sel_int_ctl;
184 unsigned char print_pe_int_ctl;
185 unsigned char print_busy_int_ctl;
186 unsigned char reserved6;
187 unsigned char print_input_status;
188 unsigned char print_ctl;
189 unsigned char chip_speed;
190 unsigned char reserved7;
191 unsigned char print_data;
192 unsigned char reserved8[3];
193 unsigned char int_level;
194 unsigned char int_mask;
201#define pccchip2 ((pccchip2_regs * const) 0xFFF42000)
214#define PCCCHIP2_VBR 0x5
222typedef volatile struct {
223 unsigned char chip_revision;
224 unsigned char chip_id;
226 unsigned char board_scr;
227 unsigned short gpr[6];
230#define gcsr_vme ((gcsr_regs * const) (GROUP_BASE_ADDRESS + BOARD_BASE_ADDRESS))
231#define gcsr ((gcsr_regs * const) 0xFFF40100)
237 unsigned short port_lower;
238 unsigned short port_upper;
239 unsigned long chan_attn;
246#define i82596 ((i82596_regs * const) 0xFFF46000)
253typedef volatile struct nvram_config_ {
254 unsigned char cache_mode;
255 unsigned char console_mode;
256 unsigned char console_printk_port;
258 unsigned long ipaddr;
259 unsigned long netmask;
260 unsigned char enaddr[6];
261 unsigned short processor_id;
262 unsigned long rma_start;
263 unsigned long vma_start;
264 unsigned long ramsize;
271#define nvram ((nvram_config * const) 0xFFFC0000)
283 #define NVRAM_CONFIGURE \
284 ( !( ( (unsigned char)(lcsr->vector_base & 0xFF) ) & 0x10 ) )
286 #define NVRAM_CONFIGURE 0
Definition: mvme16x_hw.h:222
Definition: mvme16x_hw.h:236
Definition: mvme16x_hw.h:92
Definition: mvme16x_hw.h:147