summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/network/dwmac.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/libchip/network/dwmac.h')
-rw-r--r--c/src/libchip/network/dwmac.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/c/src/libchip/network/dwmac.h b/c/src/libchip/network/dwmac.h
index 9ccf75af44..8270988b1e 100644
--- a/c/src/libchip/network/dwmac.h
+++ b/c/src/libchip/network/dwmac.h
@@ -31,6 +31,16 @@
extern "C" {
#endif /* __cplusplus */
+/** @brief DWMAC user configuration structure.
+ *
+ * Gives the user the possibility to overwrite some configuration data by
+ * setting the drv_ctrl pointer of the @ref rtems_bsdnet_ifconfig structure to a
+ * object with this type.
+ */
+typedef struct {
+ int phy_addr;
+} dwmac_ifconfig_drv_ctrl;
+
/** @brief PHY event.
*
* Data type to be used for PHY events and event sets.