diff options
Diffstat (limited to 'nuttx/arch/arm/src/tiva/tiva_ethernet.h')
-rw-r--r-- | nuttx/arch/arm/src/tiva/tiva_ethernet.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/tiva/tiva_ethernet.h b/nuttx/arch/arm/src/tiva/tiva_ethernet.h index 660f46300..534d23437 100644 --- a/nuttx/arch/arm/src/tiva/tiva_ethernet.h +++ b/nuttx/arch/arm/src/tiva/tiva_ethernet.h @@ -98,6 +98,21 @@ extern "C" int tiva_ethinitialize(int intf); #endif +/**************************************************************************** + * Name: tiva_ethernetmac + * + * Description: + * For the Ethernet Eval Kits, the MAC address will be stored in the non- + * volatile USER0 and USER1 registers. If CONFIG_TIVA_BOARDMAC is defined, + * this function will obtain the MAC address from these registers. + * + ****************************************************************************/ + +#ifdef CONFIG_TIVA_BOARDMAC +struct ether_addr; +void tiva_ethernetmac(struct ether_addr *ethaddr); +#endif + #undef EXTERN #if defined(__cplusplus) } |