9
0
Fork 0

Cosmetic, synchronize source files

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@2030 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2009-09-09 13:46:35 +00:00
parent 88386217fe
commit c9fd358783
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