diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-07-04 15:40:49 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-07-04 15:40:49 -0600 |
commit | eb46f67f7957f8a27d7c09836ada9cf8264d0ad5 (patch) | |
tree | d897ddf039dfec728865da57ebf7ead5a8425ba8 /nuttx/arch/z80/src | |
parent | 7ad1aa2d17297231ff92fa8933eb75feaae3570d (diff) | |
download | px4-nuttx-eb46f67f7957f8a27d7c09836ada9cf8264d0ad5.tar.gz px4-nuttx-eb46f67f7957f8a27d7c09836ada9cf8264d0ad5.tar.bz2 px4-nuttx-eb46f67f7957f8a27d7c09836ada9cf8264d0ad5.zip |
NET: More renaming
Diffstat (limited to 'nuttx/arch/z80/src')
-rw-r--r-- | nuttx/arch/z80/src/ez80/ez80_emac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/z80/src/ez80/ez80_emac.c b/nuttx/arch/z80/src/ez80/ez80_emac.c index ab9e08a1a..1926786bf 100644 --- a/nuttx/arch/z80/src/ez80/ez80_emac.c +++ b/nuttx/arch/z80/src/ez80/ez80_emac.c @@ -1266,9 +1266,9 @@ static int ez80emac_receive(struct ez80emac_driver_s *priv) /* We only accept IP packets of the configured type and ARP packets */ #ifdef CONFIG_NET_IPv6 - if (ETHBUF->type == HTONS(UIP_ETHTYPE_IP6)) + if (ETHBUF->type == HTONS(ETHTYPE_IP6)) #else - if (ETHBUF->type == HTONS(UIP_ETHTYPE_IP)) + if (ETHBUF->type == HTONS(ETHTYPE_IP)) #endif { nvdbg("IP packet received (%02x)\n", ETHBUF->type); @@ -1287,7 +1287,7 @@ static int ez80emac_receive(struct ez80emac_driver_s *priv) ez80emac_transmit(priv); } } - else if (ETHBUF->type == htons(UIP_ETHTYPE_ARP)) + else if (ETHBUF->type == htons(ETHTYPE_ARP)) { nvdbg("ARP packet received (%02x)\n", ETHBUF->type); EMAC_STAT(priv, rx_arp); |