summaryrefslogtreecommitdiff
path: root/net/eth.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-08-14 09:47:27 +0200
committerWolfgang Denk <wd@denx.de>2007-08-14 09:47:27 +0200
commit85eb5caf6b906f7ec5b54814e8c7c74f55986bb7 (patch)
tree0b8f372b8912f665cf7743902cb7145b55b954ce /net/eth.c
parent53a5c424bf8655b7b4e2c305a441963259a26a81 (diff)
downloadu-boot-imx-85eb5caf6b906f7ec5b54814e8c7c74f55986bb7.zip
u-boot-imx-85eb5caf6b906f7ec5b54814e8c7c74f55986bb7.tar.gz
u-boot-imx-85eb5caf6b906f7ec5b54814e8c7c74f55986bb7.tar.bz2
Coding style cleanup; rebuild CHANGELOG
Diffstat (limited to 'net/eth.c')
-rw-r--r--net/eth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/eth.c b/net/eth.c
index 9ccbcca..c2c23f6 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -356,12 +356,12 @@ void eth_set_enetaddr(int num, char *addr) {
#ifdef CONFIG_MCAST_TFTP
/* Multicast.
* mcast_addr: multicast ipaddr from which multicast Mac is made
- * join: 1=join, 0=leave.
+ * join: 1=join, 0=leave.
*/
int eth_mcast_join( IPaddr_t mcast_ip, u8 join)
{
u8 mcast_mac[6];
- if (!eth_current || !eth_current->mcast)
+ if (!eth_current || !eth_current->mcast)
return -1;
mcast_mac[5] = htonl(mcast_ip) & 0xff;
mcast_mac[4] = (htonl(mcast_ip)>>8) & 0xff;
@@ -372,8 +372,8 @@ int eth_mcast_join( IPaddr_t mcast_ip, u8 join)
return eth_current->mcast(eth_current, mcast_mac, join);
}
-/* the 'way' for ethernet-CRC-32. Spliced in from Linux lib/crc32.c
- * and this is the ethernet-crc method needed for TSEC -- and perhaps
+/* the 'way' for ethernet-CRC-32. Spliced in from Linux lib/crc32.c
+ * and this is the ethernet-crc method needed for TSEC -- and perhaps
* some other adapter -- hash tables
*/
#define CRCPOLY_LE 0xedb88320