summaryrefslogtreecommitdiff
path: root/cleopatre/u-boot-1.1.6/net/net.c
diff options
context:
space:
mode:
authorsave2009-07-27 12:49:47 +0000
committersave2009-07-27 12:49:47 +0000
commitb0c2bf496e10bd24e1a94b8021e1ad5528a834da (patch)
treedbca6e39a488966017b9ebed340f80024923a693 /cleopatre/u-boot-1.1.6/net/net.c
parent457a13107a3b0c89bff86fb827893ddd4231d498 (diff)
[CLEO][U-BOOT]SpidUpdate revue :
- NVRAM detection - Images selection with NVRAM parameters git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5083 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cleopatre/u-boot-1.1.6/net/net.c')
-rw-r--r--cleopatre/u-boot-1.1.6/net/net.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/cleopatre/u-boot-1.1.6/net/net.c b/cleopatre/u-boot-1.1.6/net/net.c
index 05bbc1a407..2a16a02c6b 100644
--- a/cleopatre/u-boot-1.1.6/net/net.c
+++ b/cleopatre/u-boot-1.1.6/net/net.c
@@ -468,7 +468,7 @@ restart:
#if (CONFIG_COMMANDS & CFG_CMD_SPIDUPD)
case SPIDUPD:
- SpidupdStart();
+ SpidupdStart();
break;
#endif
default:
@@ -1204,7 +1204,7 @@ NetReceive(volatile uchar * inpkt, int len)
len -= E802_HDR_SIZE;
} else if (x != PROT_VLAN) { /* normal packet */
- if (x != PROT_SPIDUPD) {
+ if (x != PROT_SPIDUPD) {
ip = (IP_t *)(inpkt + ETHER_HDR_SIZE);
len -= ETHER_HDR_SIZE;
}
@@ -1512,21 +1512,20 @@ NetReceive(volatile uchar * inpkt, int len)
case PROT_SPIDUPD:
#ifdef ET_DEBUG
- puts ("Got SPIDUPD\n");
+ puts ("Got SPIDUPD\n");
#endif
/* We received packet from PC client.
- * in order to respod to it, we have to set
+ * in order to respond to it, we have to set
* the destination addr to the addr of that PC client */
memcpy (NetClientEther, ((MME_t *)NetRxPkt)->mme_src, 6);
/*
- * MME header OK. Pass the packet to the current handler.
+ * MME header OK. Pass the packet to the current handler.
* We do not use UDP ports, so they are set to 0
- */
- (*packetHandler)((uchar *)NetRxPkt, 0, 0, len);
- break;
+ */
+ (*packetHandler)((uchar *)NetRxPkt, 0, 0, len);
+ break;
}
-
}