diff options
author | Wolfgang Denk <wd@denx.de> | 2007-08-14 07:47:27 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-08-14 07:47:27 (GMT) |
commit | 85eb5caf6b906f7ec5b54814e8c7c74f55986bb7 (patch) | |
tree | 0b8f372b8912f665cf7743902cb7145b55b954ce /net/eth.c | |
parent | 53a5c424bf8655b7b4e2c305a441963259a26a81 (diff) | |
download | u-boot-fsl-qoriq-85eb5caf6b906f7ec5b54814e8c7c74f55986bb7.tar.xz |
Coding style cleanup; rebuild CHANGELOG
Diffstat (limited to 'net/eth.c')
-rw-r--r-- | net/eth.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |