From 4a33ea733435bef7ebcfdfd77c4e8165bb28fc62 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 20 May 2009 19:48:55 +0000 Subject: [PATCH] MAC driver development git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1809 42af7a65-404d-4744-a932-0658087f49c3 --- configs/eagle100/include/board.h | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/configs/eagle100/include/board.h b/configs/eagle100/include/board.h index ec5b329818c..e50b11bee33 100644 --- a/configs/eagle100/include/board.h +++ b/configs/eagle100/include/board.h @@ -115,13 +115,31 @@ #ifndef __ASSEMBLY__ -/* All LM3S architectures must provide the following entry point. This entry point - * is called early in the intitialization -- after all memory has been configured - * and mapped but before any devices have been initialized. - */ +/************************************************************************************ + * Name: lm3s_boardinitialize + * + * Description: + * All LM3S architectures must provide the following entry point. This entry point + * is called early in the intitialization -- after all memory has been configured + * and mapped but before any devices have been initialized. + * + ************************************************************************************/ extern void lm3s_boardinitialize(void); +/************************************************************************************ + * Name: lm3s_ethernetmac + * + * Description: + * For the Ethernet Eval Kits, the MAC address will be stored in the non-volatile + * USER0 and USER1 registers. If CONFIG_LM3S_BOARDMAC is defined, this function + * will obtain the MAC address from these registers. + * + ************************************************************************************/ + +#ifdef CONFIG_LM3S_BOARDMAC +extern void lm3s_ethernetmac(struct ether_addr *ethaddr); #endif +#endif /* __ASSEMBLY__ */ #endif /* __ARCH_BOARD_BOARD_H */