diff options
Diffstat (limited to 'c/src/libchip/network/dwmac-1000-ethernet-mac-ops.c')
-rw-r--r-- | c/src/libchip/network/dwmac-1000-ethernet-mac-ops.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/c/src/libchip/network/dwmac-1000-ethernet-mac-ops.c b/c/src/libchip/network/dwmac-1000-ethernet-mac-ops.c new file mode 100644 index 0000000000..a4fe78241c --- /dev/null +++ b/c/src/libchip/network/dwmac-1000-ethernet-mac-ops.c @@ -0,0 +1,33 @@ +/** + * @file + * + * @brief Operations for the dwmac 1000 ethernet mac + * + * DWMAC_1000_ETHERNET_MAC_OPS will be accessible in the API header and can be + * passed to the configuration data if handling a DWMAC 1000 driver + */ + +/* + * Copyright (c) 2014 embedded brains GmbH. All rights reserved. + * + * embedded brains GmbH + * Dornierstr. 4 + * 82178 Puchheim + * Germany + * <rtems@embedded-brains.de> + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + +#include "dwmac-common.h" + +extern const dwmac_common_dma_ops dwmac_dma_ops_1000; +extern const dwmac_common_core_ops dwmac_core_ops_1000; + +const dwmac_ethernet_mac_ops DWMAC_1000_ETHERNET_MAC_OPS = + DWMAC_ETHERNET_MAC_OPS_INITIALIZER( + &dwmac_core_ops_1000, + &dwmac_dma_ops_1000 + ); |