Moxa: Use prototype in include/nuttx/net/ftmac100.h; set a configuration option to indicate that the 16550 THRE LSR biut is inverted
This commit is contained in:
parent
504691ae6a
commit
ee84e74448
@ -386,6 +386,7 @@ CONFIG_16550_SUPRESS_CONFIG=y
|
||||
CONFIG_16550_REGINCR=1
|
||||
CONFIG_16550_REGWIDTH=32
|
||||
CONFIG_16550_ADDRWIDTH=32
|
||||
CONFIG_16550_THRNE=y
|
||||
# CONFIG_ARCH_HAVE_UART is not set
|
||||
# CONFIG_ARCH_HAVE_UART0 is not set
|
||||
# CONFIG_ARCH_HAVE_UART1 is not set
|
||||
|
@ -45,6 +45,7 @@
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/board.h>
|
||||
#include <nuttx/net/ftmac100.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -68,8 +69,6 @@
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_BOARD_INITIALIZE
|
||||
extern int ftmac100_initialize(int intf);
|
||||
|
||||
void board_initialize(void)
|
||||
{
|
||||
#ifdef CONFIG_NET_FTMAC100
|
||||
|
@ -45,6 +45,7 @@
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/board.h>
|
||||
#include <nuttx/net/ftmac100.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
Loading…
Reference in New Issue
Block a user