summaryrefslogtreecommitdiff
path: root/nuttx/drivers/net/dm90x0.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-05-30 12:13:06 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-05-30 12:13:06 -0600
commit3e726f7a99026d8160df5cc8a63547215b3a50b7 (patch)
treec7017e7424ac3a30331e9410bc08045c1ee70afc /nuttx/drivers/net/dm90x0.c
parent8e0b8379fe3a21a23a8514787c31a6508d800449 (diff)
downloadpx4-nuttx-3e726f7a99026d8160df5cc8a63547215b3a50b7.tar.gz
px4-nuttx-3e726f7a99026d8160df5cc8a63547215b3a50b7.tar.bz2
px4-nuttx-3e726f7a99026d8160df5cc8a63547215b3a50b7.zip
Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/arp.h; rename all uip_arp_ functions to arp_
Diffstat (limited to 'nuttx/drivers/net/dm90x0.c')
-rw-r--r--nuttx/drivers/net/dm90x0.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/drivers/net/dm90x0.c b/nuttx/drivers/net/dm90x0.c
index 33d294532..0f4fb0e49 100644
--- a/nuttx/drivers/net/dm90x0.c
+++ b/nuttx/drivers/net/dm90x0.c
@@ -65,7 +65,7 @@
#include <net/ethernet.h>
#include <nuttx/net/uip/uip.h>
-#include <nuttx/net/uip/uip-arp.h>
+#include <nuttx/net/arp.h>
#include <nuttx/net/uip/uip-arch.h>
/****************************************************************************
@@ -849,7 +849,7 @@ static int dm9x_uiptxpoll(struct uip_driver_s *dev)
if (dm9x->dm_dev.d_len > 0)
{
- uip_arp_out(&dm9x->dm_dev);
+ arp_out(&dm9x->dm_dev);
dm9x_transmit(dm9x);
/* Check if there is room in the DM90x0 to hold another packet. In 100M mode,
@@ -988,7 +988,7 @@ static void dm9x_receive(struct dm9x_driver_s *dm9x)
if (BUF->type == HTONS(UIP_ETHTYPE_IP))
#endif
{
- uip_arp_ipin(&dm9x->dm_dev);
+ arp_ipin(&dm9x->dm_dev);
uip_input(&dm9x->dm_dev);
/* If the above function invocation resulted in data that should be
@@ -997,13 +997,13 @@ static void dm9x_receive(struct dm9x_driver_s *dm9x)
if (dm9x->dm_dev.d_len > 0)
{
- uip_arp_out(&dm9x->dm_dev);
+ arp_out(&dm9x->dm_dev);
dm9x_transmit(dm9x);
}
}
else if (BUF->type == htons(UIP_ETHTYPE_ARP))
{
- uip_arp_arpin(&dm9x->dm_dev);
+ arp_arpin(&dm9x->dm_dev);
/* If the above function invocation resulted in data that should be
* sent out on the network, the field d_len will set to a value > 0.