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:
Gregory Nutt 2015-07-29 16:27:32 -06:00
parent 504691ae6a
commit ee84e74448
3 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -45,6 +45,7 @@
#include <errno.h>
#include <nuttx/board.h>
#include <nuttx/net/ftmac100.h>
/****************************************************************************
* Pre-processor Definitions