Cosmetic, synchronize source files

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2030 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2009-09-09 13:46:35 +00:00
parent 6dc1166e58
commit 570d52d5a5
3 changed files with 4 additions and 2 deletions

View File

@ -657,6 +657,7 @@ static void lm3s_receive(struct lm3s_driver_s *priv)
/* We will have to drop this packet */
ndbg("Bad packet size dropped (%d)\n", pktlen);
EMAC_STAT(priv, rx_pktsize);
/* This is the number of bytes and words left to read (including,
@ -763,7 +764,7 @@ static void lm3s_receive(struct lm3s_driver_s *priv)
#ifdef CONFIG_DEBUG
else
{
ndbg("Unsupported packet type dropped (%02x)\n", ETHBUF->type);
ndbg("Unsupported packet type dropped (%02x)\n", htons(ETHBUF->type));
EMAC_STAT(priv, rx_dropped);
}
#endif

View File

@ -325,6 +325,7 @@ int net_poll(int sockfd, struct pollfd *fds, boolean setup)
#endif
/* Check if we are setting up or tearing down the poll */
if (setup)
{
/* Perform the TCP/IP poll() setup */

View File

@ -1,7 +1,7 @@
/****************************************************************************
* net/uip/uip_tcpcallback.c
*
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without