Add a stub that can be used when networking is enabled, but there is no ethernet driver

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3368 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-03-11 23:35:36 +00:00
parent f69bf78abb
commit 93cf78af8b
5 changed files with 106 additions and 30 deletions
-22
View File
@@ -1770,25 +1770,3 @@ int usbhost_wlaninit(void)
return usbhost_registerclass(&g_wlan);
}
#if defined(CONFIG_NET) && defined(CONFIG_NET_WLAN)
/****************************************************************************
* Name: up_netinitialize
*
* Description:
* Initialize the first network interface. If there are more than one
* interface in the chip, then board-specific logic will have to provide
* this function to determine which, if any, Ethernet controllers should
* be initialized.
*
****************************************************************************/
#ifndef CONFIG_LPC17_ETHERNET
void up_netinitialize(void)
{
/* stub */
}
#endif
#endif /* CONFIG_NET && CONFIG_NET_WLAN */