MAC driver development

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1809 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2009-05-20 19:48:55 +00:00
parent 8d8d38ec4b
commit 4a33ea7334

View File

@ -115,13 +115,31 @@
#ifndef __ASSEMBLY__
/* All LM3S architectures must provide the following entry point. This entry point
/************************************************************************************
* 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 */