diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-05-20 19:48:55 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-05-20 19:48:55 +0000 |
commit | 8404767e52a50961d648b46b26466672fb4b0470 (patch) | |
tree | 6a070f507658c5b9a8314e6919434e8de8e0f6b1 /nuttx/configs/eagle100 | |
parent | 5c7a27bdb7f92efe50c82c136545d4b947a2582a (diff) | |
download | px4-nuttx-8404767e52a50961d648b46b26466672fb4b0470.tar.gz px4-nuttx-8404767e52a50961d648b46b26466672fb4b0470.tar.bz2 px4-nuttx-8404767e52a50961d648b46b26466672fb4b0470.zip |
MAC driver development
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1809 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/eagle100')
-rw-r--r-- | nuttx/configs/eagle100/include/board.h | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/nuttx/configs/eagle100/include/board.h b/nuttx/configs/eagle100/include/board.h index ec5b32981..e50b11bee 100644 --- a/nuttx/configs/eagle100/include/board.h +++ b/nuttx/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 */ |