summaryrefslogtreecommitdiff
path: root/net/net.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-18 21:04:08 -0400
committerBen Warren <biggerbadderben@gmail.com>2009-07-22 22:53:43 -0700
commitd9bec9f42ab34383737c8a94429aa02fe76d7946 (patch)
tree5d096aaeb075027cbeec9fc370fcab1194876890 /net/net.c
parent88a4c2e77cd5674db745d0c2ebbad68c9baf760c (diff)
downloadu-boot-imx-d9bec9f42ab34383737c8a94429aa02fe76d7946.zip
u-boot-imx-d9bec9f42ab34383737c8a94429aa02fe76d7946.tar.gz
u-boot-imx-d9bec9f42ab34383737c8a94429aa02fe76d7946.tar.bz2
net: rename NetRxPkt to NetRxPacket
The net code is mostly consistent in using 'Packet' rather than 'Pkt', so rename the minor detractor to follow suite. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'net/net.c')
-rw-r--r--net/net.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/net.c b/net/net.c
index 5637cf5..e215fd8 100644
--- a/net/net.c
+++ b/net/net.c
@@ -139,8 +139,8 @@ uchar NetServerEther[6] = /* Boot server enet address */
{ 0, 0, 0, 0, 0, 0 };
IPaddr_t NetOurIP; /* Our IP addr (0 = unknown) */
IPaddr_t NetServerIP; /* Server IP addr (0 = unknown) */
-volatile uchar *NetRxPkt; /* Current receive packet */
-int NetRxPktLen; /* Current rx packet length */
+volatile uchar *NetRxPacket; /* Current receive packet */
+int NetRxPacketLen; /* Current rx packet length */
unsigned NetIPID; /* IP packet ID */
uchar NetBcastAddr[6] = /* Ethernet bcast address */
{ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
@@ -1122,8 +1122,8 @@ NetReceive(volatile uchar * inpkt, int len)
printf("packet received\n");
#endif
- NetRxPkt = inpkt;
- NetRxPktLen = len;
+ NetRxPacket = inpkt;
+ NetRxPacketLen = len;
et = (Ethernet_t *)inpkt;
/* too small packet? */