10 #include <rtems/rtems_bsdnet.h> 12 #include <sys/param.h> 14 #include <sys/socket.h> 15 #include <sys/sockio.h> 19 #include <netinet/in.h> 20 #include <netinet/if_ether.h> 31 int tx_retries_exceeded;
44 int tx_aborted_errors;
45 int tx_carrier_errors;
47 int tx_heartbeat_errors;
54 #define CMD_EOL 0x8000 55 #define CMD_SUSP 0x4000 56 #define CMD_INTR 0x2000 58 #define CMD_FLEX 0x0008 60 #define SCB_STAT_CX 0x8000 61 #define SCB_STAT_FR 0x4000 62 #define SCB_STAT_CNA 0x2000 63 #define SCB_STAT_RNR 0x1000 65 #define SCB_CUS_SUSPENDED 0x0100 66 #define SCB_CUS_ACTIVE 0x0200 70 #define STAT_OK 0x2000 73 #define STAT_S11 0x0800 74 #define STAT_S10 0x0400 75 #define STAT_S9 0x0200 76 #define STAT_S8 0x0100 77 #define STAT_S7 0x0080 78 #define STAT_S6 0x0040 79 #define STAT_S5 0x0020 80 #define STAT_MAX_COLLS 0x000F 82 #define RBD_STAT_P 0x4000 83 #define RBD_STAT_F 0x4000 85 #define CUC_START 0x0100 86 #define CUC_RESUME 0x0200 87 #define CUC_SUSPEND 0x0300 88 #define CUC_ABORT 0x0400 89 #define RX_START 0x0010 90 #define RX_RESUME 0x0020 91 #define RX_SUSPEND 0x0030 92 #define RX_ABORT 0x0040 94 #define RU_SUSPENDED 0x0010 95 #define RU_NO_RESOURCES 0x0020 96 #define RU_READY 0x0040 98 #define I596_NULL ( ( void * ) 0xffffffff) 99 #define UTI_596_END_OF_FRAME 0x8000 107 CmdMulticastList = 3,
119 unsigned char config_bytes[11];
120 unsigned char reserved1[2];
121 unsigned char ia_bytes[6];
122 unsigned short last_tx_status;
123 unsigned short tx_crc_byte01;
124 unsigned short tx_crc_byte23;
125 unsigned short rx_crc_byte01;
126 unsigned short rx_crc_byte23;
127 unsigned short rx_temp_mem01;
128 unsigned short rx_temp_mem23;
129 unsigned short rx_temp_mem45;
130 unsigned short last_rx_status;
131 unsigned short hash_reg01;
132 unsigned short hash_reg23;
133 unsigned short hash_reg45;
134 unsigned short hash_reg67;
135 unsigned short slot_time_counter;
136 unsigned short wait_time_counter;
137 unsigned short rx_frame_length;
138 unsigned long reserved2;
139 unsigned long cb_in3;
140 unsigned long cb_in2;
141 unsigned long cb_in1;
142 unsigned long la_cb_addr;
143 unsigned long rdb_pointer;
144 unsigned long int_memory;
145 unsigned long rfd_size;
146 unsigned long tbd_pointer;
147 unsigned long base_addr;
148 unsigned long ru_temp_reg;
149 unsigned long tcb_count;
150 unsigned long next_rb_size;
151 unsigned long next_rb_addr;
152 unsigned long curr_rb_size;
153 unsigned long la_rbd_addr;
154 unsigned long next_rbd_addr;
155 unsigned long curr_rbd_addr;
156 unsigned long curr_rb_count;
157 unsigned long next_fd_addr;
158 unsigned long curr_fd_add;
159 unsigned long temp_cu_reg;
160 unsigned long next_tb_count;
161 unsigned long buffer_addr;
162 unsigned long la_tbd_addr;
163 unsigned long next_tbd_addr;
164 unsigned long cb_command;
165 unsigned long next_cb_addr;
166 unsigned long curr_cb_addr;
167 unsigned long scb_cmd_word;
168 unsigned long scb_pointer;
169 unsigned long cb_stat_word;
170 unsigned long mm_lfsr;
171 unsigned char micro_machine_bit_array[28];
172 unsigned char cu_port[16];
173 unsigned long mm_alu;
174 unsigned long reserved3;
175 unsigned long mm_temp_a_rr;
176 unsigned long mm_temp_a;
177 unsigned long tx_dma_b_cnt;
178 unsigned long mm_input_port_addr_reg;
179 unsigned long tx_dma_addr;
180 unsigned long mm_port_reg1;
181 unsigned long rx_dma_b_cnt;
182 unsigned long mm_port_reg2;
183 unsigned long rx_dma_addr;
184 unsigned long reserved4;
185 unsigned long bus_t_timers;
186 unsigned long diu_cntrl_reg;
187 unsigned long reserved5;
188 unsigned long sysbus;
189 unsigned long biu_cntrl_reg;
190 unsigned long mm_disp_reg;
191 unsigned long mm_status_reg;
192 unsigned short dump_status;
196 unsigned long rom_signature;
197 unsigned long results;
205 unsigned short status;
206 unsigned short command;
227 unsigned short count;
230 unsigned short length;
258 unsigned short count;
259 unsigned short offset;
274 unsigned short count;
283 unsigned short status;
284 unsigned short command;
285 unsigned long cmd_pointer;
286 unsigned long rfd_pointer;
287 unsigned long crc_err;
288 unsigned long align_err;
289 unsigned long resource_err;
290 unsigned long over_err;
291 unsigned long rcvdt_err;
292 unsigned long short_err;
293 unsigned short t_off;
305 unsigned short scb_offset;
306 unsigned long scb_pointer;
314 unsigned long sysbus;
316 unsigned long iscp_pointer;
324 struct arpcom arpcom;
350 unsigned long rxInterrupts;
351 unsigned long txInterrupts;
353 unsigned short * pCurrent_command_status;
355 unsigned long txRawWait;
360 short int savedCount;
365 unsigned long rawsndcnt;
uint32_t rtems_name
Classic API object name type.
Definition: types.h:77
#define nop()
Definition: sparc.h:175
Objects_Id rtems_id
Used to manage and manipulate RTEMS object identifiers.
Definition: types.h:83