Subversion Repositories HelenOS

Rev

Rev 4723 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4723 Rev 4743
Line 266... Line 266...
266
} iovec_dat_s_t;
266
} iovec_dat_s_t;
267
*/
267
*/
268
#define SENDQ_NR    1   /* Maximum size of the send queue */
268
#define SENDQ_NR    1   /* Maximum size of the send queue */
269
#define SENDQ_PAGES 6   /* 6 * DP_PAGESIZE >= 1514 bytes */
269
#define SENDQ_PAGES 6   /* 6 * DP_PAGESIZE >= 1514 bytes */
270
 
270
 
-
 
271
/** Maximum number of waiting packets to be sent or received.
-
 
272
 */
-
 
273
#define MAX_PACKETS 4
-
 
274
 
271
typedef struct dpeth
275
typedef struct dpeth
272
{
276
{
273
    /* Packet send queue.
277
    /* Packet send queue.
274
    */
278
    */
275
    packet_t    packet_queue;
279
    packet_t    packet_queue;
276
    int         packet_count;
280
    int         packet_count;
277
 
281
 
278
    /* Packet receive queue.
282
    /* Packet receive queue.
279
    */
283
    */
280
    packet_t    received_queue;
284
    packet_t    received_queue;
-
 
285
    int         received_count;
281
 
286
 
282
    /* The de_base_port field is the starting point of the probe.
287
    /* The de_base_port field is the starting point of the probe.
283
     * The conf routine also fills de_linmem and de_irq. If the probe
288
     * The conf routine also fills de_linmem and de_irq. If the probe
284
     * routine knows the irq and/or memory address because they are
289
     * routine knows the irq and/or memory address because they are
285
     * hardwired in the board, the probe should modify these fields.
290
     * hardwired in the board, the probe should modify these fields.