[moxa/src] Pass interface number to the ftmac100_initialize
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
This commit is contained in:
parent
2c12bc56ac
commit
037332cafe
@ -67,11 +67,11 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
#ifdef CONFIG_BOARD_INITIALIZE
|
#ifdef CONFIG_BOARD_INITIALIZE
|
||||||
extern int ftmac100_initialize(void);
|
extern int ftmac100_initialize(int intf);
|
||||||
|
|
||||||
void board_initialize(void)
|
void board_initialize(void)
|
||||||
{
|
{
|
||||||
/* Perform board-specific initialization */
|
/* Perform board-specific initialization */
|
||||||
ftmac100_initialize();
|
ftmac100_initialize(0);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -73,7 +73,7 @@ int board_app_initialize(void)
|
|||||||
{
|
{
|
||||||
#ifndef CONFIG_BOARD_INITIALIZE
|
#ifndef CONFIG_BOARD_INITIALIZE
|
||||||
/* Perform board-specific initialization */
|
/* Perform board-specific initialization */
|
||||||
ftmac100_initialize();
|
ftmac100_initialize(0);
|
||||||
#endif
|
#endif
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user