5
Last change
on this file since 74172b7d was
4953b724,
checked in by Ralf Kirchner <ralf.kirchner@…>, on 02/17/14 at 14:43:53
|
libchip: Add dwmac 10/100/1000 network driver
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief DWMAC 10/100/1000 Common Descriptor Handling. |
---|
5 | * |
---|
6 | * DWMAC 10/100/1000 on-chip Ethernet controllers. |
---|
7 | * Functions and data which are common to normal and enhanced DMA descriptors. |
---|
8 | * This header file is NOT part of the driver API. |
---|
9 | */ |
---|
10 | |
---|
11 | /* |
---|
12 | * Copyright (c) 2013 embedded brains GmbH. All rights reserved. |
---|
13 | * |
---|
14 | * embedded brains GmbH |
---|
15 | * Dornierstr. 4 |
---|
16 | * 82178 Puchheim |
---|
17 | * Germany |
---|
18 | * <rtems@embedded-brains.de> |
---|
19 | * |
---|
20 | * The license and distribution terms for this file may be |
---|
21 | * found in the file LICENSE in this distribution or at |
---|
22 | * http://www.rtems.org/license/LICENSE. |
---|
23 | */ |
---|
24 | |
---|
25 | #ifndef DWMAC_DESC_COM_H_ |
---|
26 | #define DWMAC_DESC_COM_H_ |
---|
27 | |
---|
28 | #include "dwmac-common.h" |
---|
29 | #include <sys/queue.h> |
---|
30 | |
---|
31 | #ifdef __cplusplus |
---|
32 | extern "C" { |
---|
33 | #endif /* __cplusplus */ |
---|
34 | |
---|
35 | #define DWMAC_DESC_COM_HW_CRC_BYTES 4 |
---|
36 | #define DWMAC_DESC_COM_BUF_SIZE ( ETHER_MAX_LEN + DWMAC_DESC_COM_HW_CRC_BYTES ) |
---|
37 | |
---|
38 | struct mbuf *dwmac_desc_com_new_mbuf( dwmac_common_context *self ); |
---|
39 | |
---|
40 | #ifdef __cplusplus |
---|
41 | } |
---|
42 | #endif /* __cplusplus */ |
---|
43 | |
---|
44 | #endif /* DWMAC_DESC_COM_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.