mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
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:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user